Drag[en]gine Script Module DragonScript
1.21
|
Definition of animation difference animator rule. More...
Public Member Functions | |
AnimatorRule | buildRule (Animator animator) |
Build engine animator rule using the stored definition. More... | |
void | debug (Console console) |
bool | getEnableOrientation () |
Orientation manipulation is enabled. More... | |
bool | getEnablePosition () |
Position manipulation is enabled. More... | |
bool | getEnableSize () |
Size manipulation is enabled. More... | |
bool | getEnableVertexPositionSet () |
Vertex position set manipulation is enabled. More... | |
String | getLeadingMoveName () |
Leading move name. More... | |
float | getLeadingMoveTime () |
Time relative to leading move playtime. More... | |
String | getReferenceMoveName () |
Reference move name. More... | |
float | getReferenceMoveTime () |
Time relative to reference move playtime. More... | |
ADRuleAnimationDifference | new () |
Create new animation rule definition. More... | |
ADRuleAnimationDifference | new (AnimatorDefinition fromDef, AnimatorDefinition toDef, ADRuleAnimationDifference rule) |
Create copy of animation rule definition. More... | |
void | setEnableOrientation (bool enable) |
Set if orientation 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 | setLeadingMoveName (String name) |
Set leading move name. More... | |
void | setLeadingMoveTime (float time) |
Set time relative to leading move playtime. More... | |
void | setReferenceMoveName (String name) |
Set reference move name. More... | |
void | setReferenceMoveTime (float time) |
Set time relative to reference move playtime. 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... | |
Definition of animation difference animator rule.
Once defined a rule can be added to an animator using the stored definition.
AnimatorRule Dragengine.Animators.ADRuleAnimationDifference.buildRule | ( | Animator | animator | ) |
Build engine animator rule using the stored definition.
Reimplemented from Dragengine.Animators.ADRule.
void Dragengine.Animators.ADRuleAnimationDifference.debug | ( | Console | console | ) |
bool Dragengine.Animators.ADRuleAnimationDifference.getEnableOrientation | ( | ) |
Orientation manipulation is enabled.
bool Dragengine.Animators.ADRuleAnimationDifference.getEnablePosition | ( | ) |
Position manipulation is enabled.
bool Dragengine.Animators.ADRuleAnimationDifference.getEnableSize | ( | ) |
Size manipulation is enabled.
bool Dragengine.Animators.ADRuleAnimationDifference.getEnableVertexPositionSet | ( | ) |
Vertex position set manipulation is enabled.
String Dragengine.Animators.ADRuleAnimationDifference.getLeadingMoveName | ( | ) |
Leading move name.
float Dragengine.Animators.ADRuleAnimationDifference.getLeadingMoveTime | ( | ) |
Time relative to leading move playtime.
String Dragengine.Animators.ADRuleAnimationDifference.getReferenceMoveName | ( | ) |
Reference move name.
float Dragengine.Animators.ADRuleAnimationDifference.getReferenceMoveTime | ( | ) |
Time relative to reference move playtime.
ADRuleAnimationDifference Dragengine.Animators.ADRuleAnimationDifference.new | ( | ) |
Create new animation rule definition.
Reimplemented from Dragengine.Animators.ADRule.
ADRuleAnimationDifference Dragengine.Animators.ADRuleAnimationDifference.new | ( | AnimatorDefinition | fromDef, |
AnimatorDefinition | toDef, | ||
ADRuleAnimationDifference | rule | ||
) |
Create copy of animation rule definition.
void Dragengine.Animators.ADRuleAnimationDifference.setEnableOrientation | ( | bool | enable | ) |
Set if orientation manipulation is enabled.
void Dragengine.Animators.ADRuleAnimationDifference.setEnablePosition | ( | bool | enable | ) |
Set if position manipulation is enabled.
void Dragengine.Animators.ADRuleAnimationDifference.setEnableSize | ( | bool | enable | ) |
Set if size manipulation is enabled.
void Dragengine.Animators.ADRuleAnimationDifference.setEnableVertexPositionSet | ( | bool | enable | ) |
Set if vertex position set manipulation is enabled.
void Dragengine.Animators.ADRuleAnimationDifference.setLeadingMoveName | ( | String | name | ) |
Set leading move name.
void Dragengine.Animators.ADRuleAnimationDifference.setLeadingMoveTime | ( | float | time | ) |
Set time relative to leading move playtime.
void Dragengine.Animators.ADRuleAnimationDifference.setReferenceMoveName | ( | String | name | ) |
Set reference move name.
void Dragengine.Animators.ADRuleAnimationDifference.setReferenceMoveTime | ( | float | time | ) |
Set time relative to reference move playtime.