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

Definition of animation difference animator rule. More...

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

Public Member Functions

AnimatorRule buildRule (Animator animator)
 Build engine animator rule using the stored definition.
void debug (Console console)
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 getLeadingMoveName ()
 Leading move name.
float getLeadingMoveTime ()
 Time relative to leading move playtime.
String getReferenceMoveName ()
 Reference move name.
float getReferenceMoveTime ()
 Time relative to reference move playtime.
bool getUseComponentSpace ()
 Get use component space.
ADRuleAnimationDifference new ()
 Create new animation rule definition.
ADRuleAnimationDifference new (AnimatorDefinition fromDef, AnimatorDefinition toDef, ADRuleAnimationDifference 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 setLeadingMoveName (String name)
 Set leading move name.
void setLeadingMoveTime (float time)
 Set time relative to leading move playtime.
void setReferenceMoveName (String name)
 Set reference move name.
void setReferenceMoveTime (float time)
 Set time relative to reference move playtime.
void setUseComponentSpace (bool useComponentSpace)
 Set use component space.
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.

Public Attributes

bool pEnableOrientation
bool pEnablePosition
bool pEnableSize
bool pEnableVertexPositionSet
String pLeadMoveName
float pLeadMoveTime
String pRefMoveName
float pRefMoveTime
bool pUseComponentSpace

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

◆ buildRule()

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

Build engine animator rule using the stored definition.

Reimplemented from Dragengine.Animators.ADRule.

Referenced by debug().

◆ debug()

◆ getEnableOrientation()

bool Dragengine.Animators.ADRuleAnimationDifference.getEnableOrientation ( )

Orientation manipulation is enabled.

Referenced by debug().

◆ getEnablePosition()

bool Dragengine.Animators.ADRuleAnimationDifference.getEnablePosition ( )

Position manipulation is enabled.

References pLeadMoveTime.

Referenced by debug().

◆ getEnableSize()

bool Dragengine.Animators.ADRuleAnimationDifference.getEnableSize ( )

Size manipulation is enabled.

References pRefMoveName.

Referenced by debug().

◆ getEnableVertexPositionSet()

bool Dragengine.Animators.ADRuleAnimationDifference.getEnableVertexPositionSet ( )

Vertex position set manipulation is enabled.

Version
1.17

References pRefMoveTime, and setReferenceMoveTime().

Referenced by debug().

◆ getLeadingMoveName()

String Dragengine.Animators.ADRuleAnimationDifference.getLeadingMoveName ( )

Leading move name.

References new().

Referenced by setReferenceMoveName().

◆ getLeadingMoveTime()

float Dragengine.Animators.ADRuleAnimationDifference.getLeadingMoveTime ( )

Time relative to leading move playtime.

References pEnablePosition, pRefMoveTime, and pUseComponentSpace.

Referenced by getUseComponentSpace().

◆ getReferenceMoveName()

String Dragengine.Animators.ADRuleAnimationDifference.getReferenceMoveName ( )

Reference move name.

Referenced by setEnablePosition().

◆ getReferenceMoveTime()

float Dragengine.Animators.ADRuleAnimationDifference.getReferenceMoveTime ( )

Time relative to reference move playtime.

References pLeadMoveName.

Referenced by setEnableSize().

◆ getUseComponentSpace()

bool Dragengine.Animators.ADRuleAnimationDifference.getUseComponentSpace ( )

Get use component space.

Version
1.33

References getLeadingMoveTime(), and pLeadMoveTime.

Referenced by setEnableVertexPositionSet().

◆ new() [1/2]

ADRuleAnimationDifference Dragengine.Animators.ADRuleAnimationDifference.new ( )

◆ new() [2/2]

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

Create copy of animation rule definition.

Version
1.13

◆ setEnableOrientation()

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

Set if orientation manipulation is enabled.

References new(), and setReferenceMoveName().

Referenced by debug().

◆ setEnablePosition()

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

Set if position manipulation is enabled.

References getReferenceMoveName(), and pRefMoveName.

Referenced by debug().

◆ setEnableSize()

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

Set if size manipulation is enabled.

References getReferenceMoveTime(), and pRefMoveTime.

Referenced by debug().

◆ setEnableVertexPositionSet()

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

Set if vertex position set manipulation is enabled.

Version
1.17

References getUseComponentSpace(), and pUseComponentSpace.

Referenced by debug().

◆ setLeadingMoveName()

void Dragengine.Animators.ADRuleAnimationDifference.setLeadingMoveName ( String name)

Set leading move name.

References pLeadMoveName, pLeadMoveTime, and pRefMoveName.

Referenced by debug(), and setReferenceMoveTime().

◆ setLeadingMoveTime()

void Dragengine.Animators.ADRuleAnimationDifference.setLeadingMoveTime ( float time)

Set time relative to leading move playtime.

References pEnableOrientation, pEnableSize, and pEnableVertexPositionSet.

Referenced by debug(), and setUseComponentSpace().

◆ setReferenceMoveName()

void Dragengine.Animators.ADRuleAnimationDifference.setReferenceMoveName ( String name)

Set reference move name.

References getLeadingMoveName().

Referenced by debug(), and setEnableOrientation().

◆ setReferenceMoveTime()

void Dragengine.Animators.ADRuleAnimationDifference.setReferenceMoveTime ( float time)

Set time relative to reference move playtime.

References new(), pLeadMoveName, and setLeadingMoveName().

Referenced by debug(), and getEnableVertexPositionSet().

◆ setUseComponentSpace()

void Dragengine.Animators.ADRuleAnimationDifference.setUseComponentSpace ( bool useComponentSpace)

Set use component space.

Version
1.33

References setLeadingMoveTime().

Referenced by debug().

Member Data Documentation

◆ pEnableOrientation

bool Dragengine.Animators.ADRuleAnimationDifference.pEnableOrientation

Referenced by debug(), new(), and setLeadingMoveTime().

◆ pEnablePosition

bool Dragengine.Animators.ADRuleAnimationDifference.pEnablePosition

Referenced by debug(), getLeadingMoveTime(), and new().

◆ pEnableSize

bool Dragengine.Animators.ADRuleAnimationDifference.pEnableSize

Referenced by debug(), and setLeadingMoveTime().

◆ pEnableVertexPositionSet

bool Dragengine.Animators.ADRuleAnimationDifference.pEnableVertexPositionSet

Referenced by debug(), new(), and setLeadingMoveTime().

◆ pLeadMoveName

String Dragengine.Animators.ADRuleAnimationDifference.pLeadMoveName

◆ pLeadMoveTime

float Dragengine.Animators.ADRuleAnimationDifference.pLeadMoveTime

◆ pRefMoveName

String Dragengine.Animators.ADRuleAnimationDifference.pRefMoveName

◆ pRefMoveTime

float Dragengine.Animators.ADRuleAnimationDifference.pRefMoveTime

◆ pUseComponentSpace

bool Dragengine.Animators.ADRuleAnimationDifference.pUseComponentSpace

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