|
Drag[en]gine Script Module DragonScript 1.32.1
|
Definition of animation animator rule. More...
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 | getMoveName () |
| Move name. | |
| float | getMoveTime () |
| Time relative to move playtime. | |
| ADRuleAnimation | new () |
| Create animation rule definition. | |
| ADRuleAnimation | new (AnimatorDefinition fromDef, AnimatorDefinition toDef, ADRuleAnimation 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 | setMoveName (String name) |
| Set move name. | |
| void | setMoveTime (float time) |
| Set time relative to move playtime. | |
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 animation animator rule.
Once defined a rule can be added to an animator using the stored definition.
| AnimatorRule Dragengine.Animators.ADRuleAnimation.buildRule | ( | Animator | animator | ) |
Build engine animator rule using the stored definition.
Reimplemented from Dragengine.Animators.ADRule.
| void Dragengine.Animators.ADRuleAnimation.debug | ( | Console | console | ) |
| bool Dragengine.Animators.ADRuleAnimation.getEnableOrientation | ( | ) |
Orientation manipulation is enabled.
| bool Dragengine.Animators.ADRuleAnimation.getEnablePosition | ( | ) |
Position manipulation is enabled.
| bool Dragengine.Animators.ADRuleAnimation.getEnableSize | ( | ) |
Size manipulation is enabled.
| bool Dragengine.Animators.ADRuleAnimation.getEnableVertexPositionSet | ( | ) |
Vertex position set manipulation is enabled.
| String Dragengine.Animators.ADRuleAnimation.getMoveName | ( | ) |
Move name.
| float Dragengine.Animators.ADRuleAnimation.getMoveTime | ( | ) |
Time relative to move playtime.
| ADRuleAnimation Dragengine.Animators.ADRuleAnimation.new | ( | ) |
Create animation rule definition.
Reimplemented from Dragengine.Animators.ADRule.
| ADRuleAnimation Dragengine.Animators.ADRuleAnimation.new | ( | AnimatorDefinition | fromDef, |
| AnimatorDefinition | toDef, | ||
| ADRuleAnimation | rule | ||
| ) |
Create copy of animation rule definition.
| void Dragengine.Animators.ADRuleAnimation.setEnableOrientation | ( | bool | enable | ) |
Set if orientation manipulation is enabled.
| void Dragengine.Animators.ADRuleAnimation.setEnablePosition | ( | bool | enable | ) |
Set if position manipulation is enabled.
| void Dragengine.Animators.ADRuleAnimation.setEnableSize | ( | bool | enable | ) |
Set if size manipulation is enabled.
| void Dragengine.Animators.ADRuleAnimation.setEnableVertexPositionSet | ( | bool | enable | ) |
Set if vertex position set manipulation is enabled.
| void Dragengine.Animators.ADRuleAnimation.setMoveName | ( | String | name | ) |
Set move name.
| void Dragengine.Animators.ADRuleAnimation.setMoveTime | ( | float | time | ) |
Set time relative to move playtime.