Drag[en]gine Script Module DragonScript  1.21
Dragengine.Scenery.ARMirror Class Reference

Animator rule mirror. More...

Inheritance diagram for Dragengine.Scenery.ARMirror:
Dragengine.Scenery.AnimatorRule

Public Member Functions

Constructors
ARMirror new ()
 Create animator rule. More...
 
Management
void setMirrorAxis (ARMirrorMirrorAxis axis)
 Set mirror axis. More...
 
void setMirrorBone (String boneName)
 Set mirror bone. More...
 
void addMatchName (String first, String second, ARMirrorMatchNameType type)
 Add match bone name. More...
 
void setEnablePosition (bool enabled)
 Enable position modification. More...
 
void setEnableOrientation (bool enabled)
 Enable orientation modification. More...
 
void setEnableSize (bool enabled)
 Enable size modification. More...
 
void setEnableVertexPositionSet (bool enabled)
 Enable vertex position set modification. More...
 
void targetAddLink (ARMirrorTarget target, int link)
 Add link to target. More...
 
void targetRemoveAllLinks (ARMirrorTarget target)
 Remove all links from target. More...
 
- Public Member Functions inherited from Dragengine.Scenery.AnimatorRule
void setEnabled (bool enabled)
 Set if rule is enabled. More...
 
void setBlendMode (AnimatorRuleBlendMode blendMode)
 Set blend mode. More...
 
void setBlendFactor (float blendFactor)
 Set blend factor clamped to the range from 0 to 1. More...
 
void setInvertBlendFactor (bool invertBlendFactor)
 Invert blend factor (1 - blendFactor). More...
 
void addBone (String bone)
 Add bone. More...
 
void removeAllBones ()
 Remove all bones. More...
 
void copyBonesFrom (AnimatorRule rule)
 Copy all bones from another rule. More...
 
void addVertexPositionSet (String vertexPositionSet)
 Add vertex position set. More...
 
void removeAllVertexPositionSets ()
 Remove all vertex position sets. More...
 
void copyVertexPositionSetsFrom (AnimatorRule rule)
 Copy all vertex position sets from another rule. More...
 

Additional Inherited Members

Constructors

Detailed Description

Animator rule mirror.

Version
1.9

This is a native class. It can not be subclassed.

Member Function Documentation

◆ addMatchName()

void Dragengine.Scenery.ARMirror.addMatchName ( String  first,
String  second,
ARMirrorMatchNameType  type 
)

Add match bone name.

Exceptions
EInvalidParamfirst is empty string.
EInvalidParamsecond is empty string.
EInvalidParamtype is not a valid value.

◆ new()

ARMirror Dragengine.Scenery.ARMirror.new ( )

Create animator rule.

Reimplemented from Dragengine.Scenery.AnimatorRule.

◆ setEnableOrientation()

void Dragengine.Scenery.ARMirror.setEnableOrientation ( bool  enabled)

Enable orientation modification.

◆ setEnablePosition()

void Dragengine.Scenery.ARMirror.setEnablePosition ( bool  enabled)

Enable position modification.

◆ setEnableSize()

void Dragengine.Scenery.ARMirror.setEnableSize ( bool  enabled)

Enable size modification.

◆ setEnableVertexPositionSet()

void Dragengine.Scenery.ARMirror.setEnableVertexPositionSet ( bool  enabled)

Enable vertex position set modification.

Version
1.17

◆ setMirrorAxis()

void Dragengine.Scenery.ARMirror.setMirrorAxis ( ARMirrorMirrorAxis  axis)

Set mirror axis.

Exceptions
EInvalidParamaxis is not a valid value.

◆ setMirrorBone()

void Dragengine.Scenery.ARMirror.setMirrorBone ( String  boneName)

Set mirror bone.

◆ targetAddLink()

void Dragengine.Scenery.ARMirror.targetAddLink ( ARMirrorTarget  target,
int  link 
)

Add link to target.

Exceptions
EInvalidParamtarget is not a valid value.

◆ targetRemoveAllLinks()

void Dragengine.Scenery.ARMirror.targetRemoveAllLinks ( ARMirrorTarget  target)

Remove all links from target.

Exceptions
EInvalidParamtarget is not a valid value.

The documentation for this class was generated from the following file: