Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
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.
void debug (Console console)
bool getEnableOrientation ()
 Rotation manipulation is enabled.
bool getEnablePosition ()
 Pposition manipulation is enabled.
bool getEnableSize ()
 Size manipulation is enabled.
bool getEnableVertexPositionSet ()
 Vertex position set manipulation is enabled.
Vector getMaximumPosition ()
 Maximum position.
Vector getMaximumRotation ()
 Maximum rotation.
Vector getMaximumSize ()
 Maximum size.
float getMaximumVertexPositionSet ()
 Maximum vertex position set weight.
Vector getMinimumOrientation ()
 Minimum rotation.
Vector getMinimumPosition ()
 Minimum position.
Vector getMinimumSize ()
 Minimum size.
float getMinimumVertexPositionSet ()
 Minimum vertex position set weight.
ADRuleStateManipulator new ()
 Create animation rule definition.
ADRuleStateManipulator new (AnimatorDefinition fromDef, AnimatorDefinition toDef, ADRuleStateManipulator rule)
 Create copy of animation rule definition.
void setEnableOrientation (bool enable)
 Set if rotation 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 setMaximumPosition (Vector position)
 Set maximum position.
void setMaximumRotation (Vector rotation)
 Set maximum rotation.
void setMaximumSize (Vector size)
 Set maximum size.
void setMaximumVertexPositionSet (float weight)
 Set maximum vertex position set weight.
void setMinimumPosition (Vector position)
 Set minimum position.
void setMinimumRotation (Vector rotation)
 Set minimum rotation.
void setMinimumSize (Vector size)
 Set minimum size.
void setMinimumVertexPositionSet (float weight)
 Set minimum vertex position set weight.
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 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.

References new(), and setMinimumSize().

Referenced by debug().

◆ debug()

◆ getEnableOrientation()

bool Dragengine.Animators.ADRuleStateManipulator.getEnableOrientation ( )

Rotation manipulation is enabled.

References setMinimumRotation().

Referenced by debug().

◆ getEnablePosition()

bool Dragengine.Animators.ADRuleStateManipulator.getEnablePosition ( )

Pposition manipulation is enabled.

References getMinimumOrientation().

Referenced by debug().

◆ getEnableSize()

bool Dragengine.Animators.ADRuleStateManipulator.getEnableSize ( )

Size manipulation is enabled.

Referenced by debug().

◆ getEnableVertexPositionSet()

bool Dragengine.Animators.ADRuleStateManipulator.getEnableVertexPositionSet ( )

Vertex position set manipulation is enabled.

Version
1.17

References new().

Referenced by debug().

◆ getMaximumPosition()

Vector Dragengine.Animators.ADRuleStateManipulator.getMaximumPosition ( )

Maximum position.

References new().

Referenced by getMinimumVertexPositionSet().

◆ getMaximumRotation()

Vector Dragengine.Animators.ADRuleStateManipulator.getMaximumRotation ( )

Maximum rotation.

Referenced by setEnableSize().

◆ getMaximumSize()

Vector Dragengine.Animators.ADRuleStateManipulator.getMaximumSize ( )

Maximum size.

References setMinimumPosition().

Referenced by debug().

◆ getMaximumVertexPositionSet()

float Dragengine.Animators.ADRuleStateManipulator.getMaximumVertexPositionSet ( )

Maximum vertex position set weight.

References new(), and setMaximumPosition().

Referenced by debug().

◆ getMinimumOrientation()

Vector Dragengine.Animators.ADRuleStateManipulator.getMinimumOrientation ( )

Minimum rotation.

Referenced by getEnablePosition().

◆ getMinimumPosition()

Vector Dragengine.Animators.ADRuleStateManipulator.getMinimumPosition ( )

Minimum position.

Referenced by setMinimumSize().

◆ getMinimumSize()

Vector Dragengine.Animators.ADRuleStateManipulator.getMinimumSize ( )

Minimum size.

Referenced by setEnableVertexPositionSet().

◆ getMinimumVertexPositionSet()

float Dragengine.Animators.ADRuleStateManipulator.getMinimumVertexPositionSet ( )

Minimum vertex position set weight.

Version
1.17

References getMaximumPosition().

Referenced by debug().

◆ new() [1/2]

ADRuleStateManipulator Dragengine.Animators.ADRuleStateManipulator.new ( )

◆ new() [2/2]

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

Create copy of animation rule definition.

Version
1.13

References new().

◆ setEnableOrientation()

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

Set if rotation manipulation is enabled.

References new().

Referenced by debug().

◆ setEnablePosition()

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

Set if position manipulation is enabled.

Referenced by debug().

◆ setEnableSize()

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

Set if size manipulation is enabled.

References getMaximumRotation(), and setMaximumRotation().

Referenced by debug().

◆ setEnableVertexPositionSet()

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

Set if vertex position set manipulation is enabled.

Version
1.17

References getMinimumSize().

Referenced by debug().

◆ setMaximumPosition()

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

Set maximum position.

Referenced by debug(), and getMaximumVertexPositionSet().

◆ setMaximumRotation()

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

Set maximum rotation.

Referenced by debug(), and setEnableSize().

◆ setMaximumSize()

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

Set maximum size.

References new().

Referenced by debug().

◆ setMaximumVertexPositionSet()

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

Set maximum vertex position set weight.

Referenced by debug().

◆ setMinimumPosition()

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

Set minimum position.

Referenced by debug(), and getMaximumSize().

◆ setMinimumRotation()

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

Set minimum rotation.

Referenced by debug(), and getEnableOrientation().

◆ setMinimumSize()

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

Set minimum size.

References getMinimumPosition().

Referenced by buildRule(), and debug().

◆ setMinimumVertexPositionSet()

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

Set minimum vertex position set weight.

Referenced by debug().


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