|
Drag[en]gine Script Module DragonScript 1.32.1
|
Definition of group animator rule. More...
Public Member Functions | |
| void | addRule (ADRule rule) |
| Add rule. | |
| AnimatorRule | buildRule (Animator animator) |
| Build engine animator rule using the stored definition. | |
| void | forEachRule (Block ablock) |
| Visit rules using block. | |
| bool | getEnableOrientation () |
| Orientation manipulation is enabled. | |
| bool | getEnablePosition () |
| Pposition manipulation is enabled. | |
| bool | getEnableSize () |
| Size manipulation is enabled. | |
| bool | getEnableVertexPositionSet () |
| Vertex position set manipulation is enabled. | |
| ADRule | getRuleAt (int index) |
| Rule at index. | |
| int | getRuleCount () |
| Count of rules. | |
| bool | getUseCurrentState () |
| Use current animation state instead of empty state. | |
| ADRuleGroup | new () |
| Create animation rule definition. | |
| ADRuleGroup | new (AnimatorDefinition fromDef, AnimatorDefinition toDef, ADRuleGroup rule) |
| Create copy animation rule definition. | |
| void | removeAllRules () |
| Remove all rules. | |
| void | removeRule (ADRule rule) |
| Remove rule. | |
| void | setApplicationType (ARGroupApplication applicationType) |
| Set application type. | |
| 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 | setUseCurrentState (bool useCurrentState) |
| Set if current animation state is used instead of empty state. | |
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. | |
Definition of group animator rule.
Once defined a rule can be added to an animator using the stored definition.
| void Dragengine.Animators.ADRuleGroup.addRule | ( | ADRule | rule | ) |
Add rule.
| AnimatorRule Dragengine.Animators.ADRuleGroup.buildRule | ( | Animator | animator | ) |
Build engine animator rule using the stored definition.
Reimplemented from Dragengine.Animators.ADRule.
| void Dragengine.Animators.ADRuleGroup.forEachRule | ( | Block | ablock | ) |
Visit rules using block.
| bool Dragengine.Animators.ADRuleGroup.getEnableOrientation | ( | ) |
Orientation manipulation is enabled.
| bool Dragengine.Animators.ADRuleGroup.getEnablePosition | ( | ) |
Pposition manipulation is enabled.
| bool Dragengine.Animators.ADRuleGroup.getEnableSize | ( | ) |
Size manipulation is enabled.
| bool Dragengine.Animators.ADRuleGroup.getEnableVertexPositionSet | ( | ) |
Vertex position set manipulation is enabled.
| ADRule Dragengine.Animators.ADRuleGroup.getRuleAt | ( | int | index | ) |
Rule at index.
| int Dragengine.Animators.ADRuleGroup.getRuleCount | ( | ) |
Count of rules.
| bool Dragengine.Animators.ADRuleGroup.getUseCurrentState | ( | ) |
Use current animation state instead of empty state.
| ADRuleGroup Dragengine.Animators.ADRuleGroup.new | ( | ) |
Create animation rule definition.
Reimplemented from Dragengine.Animators.ADRule.
| ADRuleGroup Dragengine.Animators.ADRuleGroup.new | ( | AnimatorDefinition | fromDef, |
| AnimatorDefinition | toDef, | ||
| ADRuleGroup | rule | ||
| ) |
Create copy animation rule definition.
| void Dragengine.Animators.ADRuleGroup.removeAllRules | ( | ) |
Remove all rules.
| void Dragengine.Animators.ADRuleGroup.removeRule | ( | ADRule | rule | ) |
Remove rule.
| void Dragengine.Animators.ADRuleGroup.setApplicationType | ( | ARGroupApplication | applicationType | ) |
Set application type.
| void Dragengine.Animators.ADRuleGroup.setEnableOrientation | ( | bool | enable | ) |
Set if orientation manipulation is enabled.
| void Dragengine.Animators.ADRuleGroup.setEnablePosition | ( | bool | enable | ) |
Set if position manipulation is enabled.
| void Dragengine.Animators.ADRuleGroup.setEnableSize | ( | bool | enable | ) |
Set if size manipulation is enabled.
| void Dragengine.Animators.ADRuleGroup.setEnableVertexPositionSet | ( | bool | enable | ) |
Set if vertex position set manipulation is enabled.
| void Dragengine.Animators.ADRuleGroup.setUseCurrentState | ( | bool | useCurrentState | ) |
Set if current animation state is used instead of empty state.