Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Animators.ADRuleAnimationSelect Class Reference

Definition of animation difference animator rule. More...

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

Public Member Functions

void addMove (String move)
 Add move.
AnimatorRule buildRule (Animator animator)
 Build engine animator rule using the stored definition.
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.
String getMoveAt (int index)
 Move at index.
int getMoveCount ()
 Count of moves.
ADRuleAnimationSelect new ()
 Create animation rule definition.
ADRuleAnimationSelect new (AnimatorDefinition fromDef, AnimatorDefinition toDef, ADRuleAnimationSelect rule)
 Create copy of animation rule definition.
void removeAllMoves ()
 Remove all moves.
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.
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 animation difference animator rule.

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

Member Function Documentation

◆ addMove()

void Dragengine.Animators.ADRuleAnimationSelect.addMove ( String move)

Add move.

Referenced by setEnableOrientation().

◆ buildRule()

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

◆ getEnableOrientation()

bool Dragengine.Animators.ADRuleAnimationSelect.getEnableOrientation ( )

Orientation manipulation is enabled.

Referenced by buildRule().

◆ getEnablePosition()

bool Dragengine.Animators.ADRuleAnimationSelect.getEnablePosition ( )

Position manipulation is enabled.

Referenced by getEnableVertexPositionSet().

◆ getEnableSize()

bool Dragengine.Animators.ADRuleAnimationSelect.getEnableSize ( )

Size manipulation is enabled.

Referenced by buildRule().

◆ getEnableVertexPositionSet()

bool Dragengine.Animators.ADRuleAnimationSelect.getEnableVertexPositionSet ( )

Vertex position set manipulation is enabled.

Version
1.17

References getEnablePosition().

Referenced by buildRule().

◆ getMoveAt()

String Dragengine.Animators.ADRuleAnimationSelect.getMoveAt ( int index)

Move at index.

References new().

Referenced by setEnablePosition().

◆ getMoveCount()

int Dragengine.Animators.ADRuleAnimationSelect.getMoveCount ( )

Count of moves.

References new().

Referenced by removeAllMoves().

◆ new() [1/2]

ADRuleAnimationSelect Dragengine.Animators.ADRuleAnimationSelect.new ( )

Create animation rule definition.

Reimplemented from Dragengine.Animators.ADRule.

References new().

Referenced by buildRule(), getMoveAt(), getMoveCount(), new(), and setEnableOrientation().

◆ new() [2/2]

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

Create copy of animation rule definition.

Version
1.13

◆ removeAllMoves()

void Dragengine.Animators.ADRuleAnimationSelect.removeAllMoves ( )

Remove all moves.

References getMoveCount().

Referenced by setEnableSize().

◆ setEnableOrientation()

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

Set if orientation manipulation is enabled.

References addMove(), and new().

Referenced by buildRule().

◆ setEnablePosition()

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

Set if position manipulation is enabled.

References getMoveAt().

Referenced by buildRule(), and setEnableVertexPositionSet().

◆ setEnableSize()

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

Set if size manipulation is enabled.

References removeAllMoves().

Referenced by buildRule().

◆ setEnableVertexPositionSet()

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

Set if vertex position set manipulation is enabled.

Version
1.17

References setEnablePosition().

Referenced by buildRule().


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