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

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.

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.

References getSubAnimator().

Referenced by buildRule(), setEnableOrientation(), and setEnableVertexPositionSet().

◆ 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.

References addConnection().

Referenced by debug().

◆ clearConnections()

void Dragengine.Animators.ADRuleSubAnimator.clearConnections ( )

Remove all connections.

References setSubAnimator().

Referenced by debug().

◆ debug()

◆ getConnectionAt()

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

Connection.

Referenced by getEnableOrientation().

◆ getConnectionCount()

int Dragengine.Animators.ADRuleSubAnimator.getConnectionCount ( )

Count of connections.

Referenced by getEnablePosition().

◆ getEnableOrientation()

bool Dragengine.Animators.ADRuleSubAnimator.getEnableOrientation ( )

Orientation manipulation is enabled.

References getConnectionAt().

Referenced by debug().

◆ getEnablePosition()

bool Dragengine.Animators.ADRuleSubAnimator.getEnablePosition ( )

Position manipulation is enabled.

References getConnectionCount().

Referenced by debug().

◆ getEnableSize()

bool Dragengine.Animators.ADRuleSubAnimator.getEnableSize ( )

Size manipulation is enabled.

Referenced by debug().

◆ getEnableVertexPositionSet()

bool Dragengine.Animators.ADRuleSubAnimator.getEnableVertexPositionSet ( )

Vertex position set manipulation is enabled.

Version
1.17

Referenced by debug().

◆ getSubAnimator()

Animator Dragengine.Animators.ADRuleSubAnimator.getSubAnimator ( )

Sub animator.

References new().

Referenced by addConnection().

◆ new() [1/2]

ADRuleSubAnimator Dragengine.Animators.ADRuleSubAnimator.new ( )

Create animation rule definition.

Reimplemented from Dragengine.Animators.ADRule.

References new().

Referenced by debug(), getSubAnimator(), new(), setEnableSize(), and setSubAnimator().

◆ 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.

References addConnection().

Referenced by debug().

◆ setEnablePosition()

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

Set if position manipulation is enabled.

Referenced by debug().

◆ setEnableSize()

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

Set if size manipulation is enabled.

References new().

Referenced by debug().

◆ setEnableVertexPositionSet()

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

Set if vertex position set manipulation is enabled.

Version
1.17

References addConnection().

Referenced by debug().

◆ setSubAnimator()

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

Set sub animator.

References new().

Referenced by clearConnections(), and debug().


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