Drag[en]gine Script Module DragonScript  1.23
Dragengine.Animators.ADRuleSubAnimator Class Reference

Definition of sub animator animator rule. More...

Inheritance diagram for Dragengine.Animators.ADRuleSubAnimator:
Dragengine.Animators.ADRule

Public Member Functions

void addConnection (int subAnimatorController, int localController)
 Add connection. More...
 
void addConnection (String subAnimatorController, int localController)
 Add connection. More...
 
AnimatorRule buildRule (Animator animator)
 Build engine animator rule using the stored definition. More...
 
void clearConnections ()
 Remove all connections. More...
 
void debug (Console console)
 
int getConnectionAt (int index)
 Connection. More...
 
int getConnectionCount ()
 Count of connections. More...
 
bool getEnableOrientation ()
 Orientation manipulation is enabled. More...
 
bool getEnablePosition ()
 Position manipulation is enabled. More...
 
bool getEnableSize ()
 Size manipulation is enabled. More...
 
bool getEnableVertexPositionSet ()
 Vertex position set manipulation is enabled. More...
 
Animator getSubAnimator ()
 Sub animator. More...
 
ADRuleSubAnimator new ()
 Create animation rule definition. More...
 
ADRuleSubAnimator new (AnimatorDefinition fromDef, AnimatorDefinition toDef, ADRuleSubAnimator rule)
 Create copy of animation rule definition. More...
 
void setEnableOrientation (bool enable)
 Set if orientation manipulation is enabled. More...
 
void setEnablePosition (bool enable)
 Set if position manipulation is enabled. More...
 
void setEnableSize (bool enable)
 Set if size manipulation is enabled. More...
 
void setEnableVertexPositionSet (bool enable)
 Set if vertex position set manipulation is enabled. More...
 
void setSubAnimator (Animator subAnimator)
 Set sub animator. More...
 
- Public Member Functions inherited from Dragengine.Animators.ADRule
void addBone (String bone)
 Add bone. More...
 
void addTargetLink (ADRuleTargetLink targetLink)
 Add target link. More...
 
void addVertexPositionSet (String vertexPositionSet)
 Add vertex position set. More...
 
void forEachTarget (Block ablock)
 Visit target links with a block. More...
 
float getBlendFactor ()
 Blend factor. More...
 
AnimatorRuleBlendMode getBlendMode ()
 Blend mode. More...
 
String getBoneAt (int index)
 Bone at index. More...
 
int getBoneCount ()
 Count of bones. More...
 
bool getEnabled ()
 Rule is enabled. More...
 
bool getInvertBlendFactor ()
 Invert blend factor (1 - blendFactor). More...
 
ADRuleTargetLink getTargetLinkAt (int index)
 Target link at index. More...
 
int getTargetLinkCount ()
 Count of target links. More...
 
String getVertexPositionSetAt (int index)
 Vertex position set at index. More...
 
int getVertexPositionSetCount ()
 Count of vertex position sets. More...
 
void removeAllTargetLinks ()
 Remove all target links. More...
 
void setBlendFactor (float factor)
 Set blend factor. More...
 
void setBlendMode (AnimatorRuleBlendMode mode)
 Set blend mode. More...
 
void setEnabled (bool enabled)
 Set if rule is enabled. More...
 
void setInvertBlendFactor (bool invertBlendFactor)
 Set invert blend factor (1 - blendFactor). More...
 
void setName (String name)
 Set name of rule. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Dragengine.Animators.ADRule
String debugCommon (String type)
 
ADRule new (AnimatorDefinition fromDef, AnimatorDefinition toDef, ADRule rule)
 Create copy of animation rule definition. More...
 

Detailed Description

Definition of sub animator animator rule.

Once defined a rule can be added to an animator using the stored definition.

Member Function Documentation

◆ addConnection() [1/2]

void Dragengine.Animators.ADRuleSubAnimator.addConnection ( int  subAnimatorController,
int  localController 
)

Add connection.

◆ addConnection() [2/2]

void Dragengine.Animators.ADRuleSubAnimator.addConnection ( String  subAnimatorController,
int  localController 
)

Add connection.

◆ buildRule()

AnimatorRule Dragengine.Animators.ADRuleSubAnimator.buildRule ( Animator  animator)

Build engine animator rule using the stored definition.

Reimplemented from Dragengine.Animators.ADRule.

◆ clearConnections()

void Dragengine.Animators.ADRuleSubAnimator.clearConnections ( )

Remove all connections.

◆ debug()

void Dragengine.Animators.ADRuleSubAnimator.debug ( Console  console)

◆ getConnectionAt()

int Dragengine.Animators.ADRuleSubAnimator.getConnectionAt ( int  index)

Connection.

◆ getConnectionCount()

int Dragengine.Animators.ADRuleSubAnimator.getConnectionCount ( )

Count of connections.

◆ getEnableOrientation()

bool Dragengine.Animators.ADRuleSubAnimator.getEnableOrientation ( )

Orientation manipulation is enabled.

◆ getEnablePosition()

bool Dragengine.Animators.ADRuleSubAnimator.getEnablePosition ( )

Position manipulation is enabled.

◆ getEnableSize()

bool Dragengine.Animators.ADRuleSubAnimator.getEnableSize ( )

Size manipulation is enabled.

◆ getEnableVertexPositionSet()

bool Dragengine.Animators.ADRuleSubAnimator.getEnableVertexPositionSet ( )

Vertex position set manipulation is enabled.

Version
1.17

◆ getSubAnimator()

Animator Dragengine.Animators.ADRuleSubAnimator.getSubAnimator ( )

Sub animator.

◆ new() [1/2]

ADRuleSubAnimator Dragengine.Animators.ADRuleSubAnimator.new ( )

Create animation rule definition.

Reimplemented from Dragengine.Animators.ADRule.

◆ new() [2/2]

ADRuleSubAnimator Dragengine.Animators.ADRuleSubAnimator.new ( AnimatorDefinition  fromDef,
AnimatorDefinition  toDef,
ADRuleSubAnimator  rule 
)

Create copy of animation rule definition.

Version
1.13

◆ setEnableOrientation()

void Dragengine.Animators.ADRuleSubAnimator.setEnableOrientation ( bool  enable)

Set if orientation manipulation is enabled.

◆ setEnablePosition()

void Dragengine.Animators.ADRuleSubAnimator.setEnablePosition ( bool  enable)

Set if position manipulation is enabled.

◆ setEnableSize()

void Dragengine.Animators.ADRuleSubAnimator.setEnableSize ( bool  enable)

Set if size manipulation is enabled.

◆ setEnableVertexPositionSet()

void Dragengine.Animators.ADRuleSubAnimator.setEnableVertexPositionSet ( bool  enable)

Set if vertex position set manipulation is enabled.

Version
1.17

◆ setSubAnimator()

void Dragengine.Animators.ADRuleSubAnimator.setSubAnimator ( Animator  subAnimator)

Set sub animator.


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