Drag[en]gine Script Module DragonScript  1.21
Dragengine.Animators.ADRuleStateManipulator Class Reference

Definition of state manipulator animator rule. More...

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

Public Member Functions

AnimatorRule buildRule (Animator animator)
 Build engine animator rule using the stored definition. More...
 
void debug (Console console)
 
bool getEnableOrientation ()
 Rotation manipulation is enabled. More...
 
bool getEnablePosition ()
 Pposition manipulation is enabled. More...
 
bool getEnableSize ()
 Size manipulation is enabled. More...
 
bool getEnableVertexPositionSet ()
 Vertex position set manipulation is enabled. More...
 
Vector getMaximumPosition ()
 Maximum position. More...
 
Vector getMaximumRotation ()
 Maximum rotation. More...
 
Vector getMaximumSize ()
 Maximum size. More...
 
float getMaximumVertexPositionSet ()
 Maximum vertex position set weight. More...
 
Vector getMinimumOrientation ()
 Minimum rotation. More...
 
Vector getMinimumPosition ()
 Minimum position. More...
 
Vector getMinimumSize ()
 Minimum size. More...
 
float getMinimumVertexPositionSet ()
 Minimum vertex position set weight. More...
 
ADRuleStateManipulator new ()
 Create animation rule definition. More...
 
ADRuleStateManipulator new (AnimatorDefinition fromDef, AnimatorDefinition toDef, ADRuleStateManipulator rule)
 Create copy of animation rule definition. More...
 
void setEnableOrientation (bool enable)
 Set if rotation 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 setMaximumPosition (Vector position)
 Set maximum position. More...
 
void setMaximumRotation (Vector rotation)
 Set maximum rotation. More...
 
void setMaximumSize (Vector size)
 Set maximum size. More...
 
void setMaximumVertexPositionSet (float weight)
 Set maximum vertex position set weight. More...
 
void setMinimumPosition (Vector position)
 Set minimum position. More...
 
void setMinimumRotation (Vector rotation)
 Set minimum rotation. More...
 
void setMinimumSize (Vector size)
 Set minimum size. More...
 
void setMinimumVertexPositionSet (float weight)
 Set minimum vertex position set weight. 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 state manipulator animator rule.

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

Member Function Documentation

◆ buildRule()

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

Build engine animator rule using the stored definition.

Reimplemented from Dragengine.Animators.ADRule.

◆ debug()

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

◆ getEnableOrientation()

bool Dragengine.Animators.ADRuleStateManipulator.getEnableOrientation ( )

Rotation manipulation is enabled.

◆ getEnablePosition()

bool Dragengine.Animators.ADRuleStateManipulator.getEnablePosition ( )

Pposition manipulation is enabled.

◆ getEnableSize()

bool Dragengine.Animators.ADRuleStateManipulator.getEnableSize ( )

Size manipulation is enabled.

◆ getEnableVertexPositionSet()

bool Dragengine.Animators.ADRuleStateManipulator.getEnableVertexPositionSet ( )

Vertex position set manipulation is enabled.

Version
1.17

◆ getMaximumPosition()

Vector Dragengine.Animators.ADRuleStateManipulator.getMaximumPosition ( )

Maximum position.

◆ getMaximumRotation()

Vector Dragengine.Animators.ADRuleStateManipulator.getMaximumRotation ( )

Maximum rotation.

◆ getMaximumSize()

Vector Dragengine.Animators.ADRuleStateManipulator.getMaximumSize ( )

Maximum size.

◆ getMaximumVertexPositionSet()

float Dragengine.Animators.ADRuleStateManipulator.getMaximumVertexPositionSet ( )

Maximum vertex position set weight.

◆ getMinimumOrientation()

Vector Dragengine.Animators.ADRuleStateManipulator.getMinimumOrientation ( )

Minimum rotation.

◆ getMinimumPosition()

Vector Dragengine.Animators.ADRuleStateManipulator.getMinimumPosition ( )

Minimum position.

◆ getMinimumSize()

Vector Dragengine.Animators.ADRuleStateManipulator.getMinimumSize ( )

Minimum size.

◆ getMinimumVertexPositionSet()

float Dragengine.Animators.ADRuleStateManipulator.getMinimumVertexPositionSet ( )

Minimum vertex position set weight.

Version
1.17

◆ new() [1/2]

ADRuleStateManipulator Dragengine.Animators.ADRuleStateManipulator.new ( )

Create animation rule definition.

Reimplemented from Dragengine.Animators.ADRule.

◆ new() [2/2]

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

Create copy of animation rule definition.

Version
1.13

◆ setEnableOrientation()

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

Set if rotation manipulation is enabled.

◆ setEnablePosition()

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

Set if position manipulation is enabled.

◆ setEnableSize()

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

Set if size manipulation is enabled.

◆ setEnableVertexPositionSet()

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

Set if vertex position set manipulation is enabled.

Version
1.17

◆ setMaximumPosition()

void Dragengine.Animators.ADRuleStateManipulator.setMaximumPosition ( Vector  position)

Set maximum position.

◆ setMaximumRotation()

void Dragengine.Animators.ADRuleStateManipulator.setMaximumRotation ( Vector  rotation)

Set maximum rotation.

◆ setMaximumSize()

void Dragengine.Animators.ADRuleStateManipulator.setMaximumSize ( Vector  size)

Set maximum size.

◆ setMaximumVertexPositionSet()

void Dragengine.Animators.ADRuleStateManipulator.setMaximumVertexPositionSet ( float  weight)

Set maximum vertex position set weight.

◆ setMinimumPosition()

void Dragengine.Animators.ADRuleStateManipulator.setMinimumPosition ( Vector  position)

Set minimum position.

◆ setMinimumRotation()

void Dragengine.Animators.ADRuleStateManipulator.setMinimumRotation ( Vector  rotation)

Set minimum rotation.

◆ setMinimumSize()

void Dragengine.Animators.ADRuleStateManipulator.setMinimumSize ( Vector  size)

Set minimum size.

◆ setMinimumVertexPositionSet()

void Dragengine.Animators.ADRuleStateManipulator.setMinimumVertexPositionSet ( float  weight)

Set minimum vertex position set weight.


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