|
Drag[en]gine Script Module DragonScript 1.35
|
Definition of a mirror animator rule. More...
Classes | |
| class | MatchBoneName |
| Match bone name. More... | |
Public Member Functions | |
| void | addMatchName (String first, String second, ARMirrorMatchNameType type) |
| Add match bone name. | |
| AnimatorRule | buildRule (Animator animator) |
| Build engine animator rule using the stored definition. | |
| 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. | |
| MatchBoneName | getMatchNameAt (int index) |
| Match bone name at index. | |
| int | getMatchNameCount () |
| Count of match bone names. | |
| ARMirrorMirrorAxis | getMirrorAxis () |
| Mirror axis. | |
| String | getMirrorBone () |
| Name of mirror bone or empty string to use component. | |
| ADRuleMirror | new () |
| Create animation rule definition. | |
| ADRuleMirror | new (AnimatorDefinition fromDef, AnimatorDefinition toDef, ADRuleMirror rule) |
| Create copy of animation rule definition. | |
| void | setEnableOrientation (bool enable) |
| Set orientation manipulation is enabled. | |
| void | setEnablePosition (bool enable) |
| Set if position manipulation is enabled. | |
| void | setEnableSize (bool enable) |
| Setsif size manipulation is enabled. | |
| void | setEnableVertexPositionSet (bool enable) |
| Set if vertex position set manipulation is enabled. | |
| void | setMirrorAxis (ARMirrorMirrorAxis axis) |
| Set mirror axis. | |
| void | setMirrorBone (String bone) |
| Set name of mirror bone or empty string to use component. | |
| 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 a mirror animator rule.
Once defined a rule can be added to an animator using the stored definition.
| void Dragengine.Animators.ADRuleMirror.addMatchName | ( | String | first, |
| String | second, | ||
| ARMirrorMatchNameType | type ) |
| AnimatorRule Dragengine.Animators.ADRuleMirror.buildRule | ( | Animator | animator | ) |
Build engine animator rule using the stored definition.
Reimplemented from Dragengine.Animators.ADRule.
References addMatchName(), buildRule(), Dragengine.Animators.ADRule.forEachTarget(), getEnableOrientation(), getEnablePosition(), getEnableSize(), getEnableVertexPositionSet(), getMatchNameAt(), getMatchNameCount(), getMirrorBone(), new(), setEnableOrientation(), setEnablePosition(), setEnableSize(), setEnableVertexPositionSet(), setMirrorAxis(), and setMirrorBone().
Referenced by buildRule().
| bool Dragengine.Animators.ADRuleMirror.getEnableOrientation | ( | ) |
| bool Dragengine.Animators.ADRuleMirror.getEnablePosition | ( | ) |
Position manipulation is enabled.
Referenced by buildRule().
| bool Dragengine.Animators.ADRuleMirror.getEnableSize | ( | ) |
| bool Dragengine.Animators.ADRuleMirror.getEnableVertexPositionSet | ( | ) |
Vertex position set manipulation is enabled.
References getMirrorAxis().
Referenced by buildRule().
| MatchBoneName Dragengine.Animators.ADRuleMirror.getMatchNameAt | ( | int | index | ) |
| int Dragengine.Animators.ADRuleMirror.getMatchNameCount | ( | ) |
Count of match bone names.
Referenced by buildRule().
| ARMirrorMirrorAxis Dragengine.Animators.ADRuleMirror.getMirrorAxis | ( | ) |
Mirror axis.
Referenced by getEnableVertexPositionSet().
| String Dragengine.Animators.ADRuleMirror.getMirrorBone | ( | ) |
Name of mirror bone or empty string to use component.
Referenced by buildRule().
| ADRuleMirror Dragengine.Animators.ADRuleMirror.new | ( | ) |
Create animation rule definition.
Reimplemented from Dragengine.Animators.ADRule.
Referenced by addMatchName(), buildRule(), getEnableOrientation(), getEnableSize(), and getMatchNameAt().
| ADRuleMirror Dragengine.Animators.ADRuleMirror.new | ( | AnimatorDefinition | fromDef, |
| AnimatorDefinition | toDef, | ||
| ADRuleMirror | rule ) |
Create copy of animation rule definition.
| void Dragengine.Animators.ADRuleMirror.setEnableOrientation | ( | bool | enable | ) |
Set orientation manipulation is enabled.
Referenced by buildRule().
| void Dragengine.Animators.ADRuleMirror.setEnablePosition | ( | bool | enable | ) |
Set if position manipulation is enabled.
Referenced by buildRule().
| void Dragengine.Animators.ADRuleMirror.setEnableSize | ( | bool | enable | ) |
Setsif size manipulation is enabled.
Referenced by buildRule().
| void Dragengine.Animators.ADRuleMirror.setEnableVertexPositionSet | ( | bool | enable | ) |
Set if vertex position set manipulation is enabled.
References setMirrorAxis().
Referenced by buildRule().
| void Dragengine.Animators.ADRuleMirror.setMirrorAxis | ( | ARMirrorMirrorAxis | axis | ) |
Set mirror axis.
Referenced by buildRule(), and setEnableVertexPositionSet().
| void Dragengine.Animators.ADRuleMirror.setMirrorBone | ( | String | bone | ) |
Set name of mirror bone or empty string to use component.
Referenced by buildRule().