|
Drag[en]gine Script Module DragonScript 1.32.1
|
Definition of bone transformator animator rule. More...
Public Member Functions | |
| AnimatorRule | buildRule (Animator animator) |
| void | debug (Console console) |
| Vector | getAxis () |
| Rotation axis. | |
| ARBoneTransformatorCFrame | getCoordinateFrame () |
| Coordinate frame of rotation. | |
| bool | getEnableOrientation () |
| Transformation affects the orientation. | |
| bool | getEnablePosition () |
| Ttransformation affects the position. | |
| bool | getEnableSize () |
| Transformation affects the size. | |
| String | getInputBone () |
| Input bone name. | |
| ARBoneTransformatorInputSource | getInputSource () |
| Input source. | |
| float | getMaximumAngle () |
| Maximum axis rotation angle. | |
| Vector | getMaximumRotation () |
| Maximum rotation. | |
| Vector | getMaximumScaling () |
| Maximum scaling. | |
| Vector | getMaximumTranslation () |
| Maximum translation. | |
| float | getMinimumAngle () |
| Minimum axis rotation angle. | |
| Vector | getMinimumRotation () |
| Minimum rotation. | |
| Vector | getMinimumScaling () |
| Minimum scaling. | |
| Vector | getMinimumTranslation () |
| Mminimum translation. | |
| String | getTargetBone () |
| Target bone name. | |
| bool | getUseAxis () |
| Use rotation axis instead of rotation directly. | |
| ADRuleBoneTransformator | new () |
| Create animation rule definition. | |
| ADRuleBoneTransformator | new (AnimatorDefinition fromDef, AnimatorDefinition toDef, ADRuleBoneTransformator rule) |
| Create copy of animation rule definition. | |
| void | setAxis (Vector axis) |
| Set rotation axis. | |
| void | setCoordinateFrame (ARBoneTransformatorCFrame coordFrame) |
| Set if coordinate frame of rotation. | |
| void | setEnableOrientation (bool enable) |
| Set if transformation affects the orientation. | |
| void | setEnablePosition (bool enable) |
| Set if transformation affects the position. | |
| void | setEnableSize (bool enable) |
| Set if transformation affects the size. | |
| void | setInputBone (String name) |
| Set input bone name. | |
| void | setInputSource (ARBoneTransformatorInputSource source) |
| Set input source. | |
| void | setMaximumAngle (float angle) |
| Set maximum axis rotation angle. | |
| void | setMaximumRotation (Vector rotation) |
| Set maximum rotation. | |
| void | setMaximumScaling (Vector scaling) |
| Set maximum scaling. | |
| void | setMaximumTranslation (Vector translation) |
| Set maximum translation. | |
| void | setMinimumAngle (float angle) |
| Set minimum axis rotation angle. | |
| void | setMinimumRotation (Vector rotation) |
| Set minimum rotation. | |
| void | setMinimumScaling (Vector scaling) |
| Set minimum scaling. | |
| void | setMinimumTranslation (Vector translation) |
| Set minimum translation. | |
| void | setTargetBone (String name) |
| Set target bone name. | |
| void | setUseAxis (bool useAxis) |
| Set to use rotation axis instead of rotation directly. | |
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 | |
| ARBoneTransformatorCFrame | pCoordFrame |
| bool | pEnablePosition |
| ARBoneTransformatorInputSource | pInputSource |
| float | pMinimumAngle |
| Vector | pMinimumScaling |
| Vector | pMinimumTranslation |
| String | pTargetBone |
| bool | pUseAxis |
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 bone transformator animator rule.
Once defined a rule can be added to an animator using the stored definition.
| AnimatorRule Dragengine.Animators.ADRuleBoneTransformator.buildRule | ( | Animator | animator | ) |
Build engine animator rule using the stored definition.
Reimplemented from Dragengine.Animators.ADRule.
| void Dragengine.Animators.ADRuleBoneTransformator.debug | ( | Console | console | ) |
| Vector Dragengine.Animators.ADRuleBoneTransformator.getAxis | ( | ) |
Rotation axis.
| ARBoneTransformatorCFrame Dragengine.Animators.ADRuleBoneTransformator.getCoordinateFrame | ( | ) |
Coordinate frame of rotation.
| bool Dragengine.Animators.ADRuleBoneTransformator.getEnableOrientation | ( | ) |
Transformation affects the orientation.
| bool Dragengine.Animators.ADRuleBoneTransformator.getEnablePosition | ( | ) |
Ttransformation affects the position.
| bool Dragengine.Animators.ADRuleBoneTransformator.getEnableSize | ( | ) |
Transformation affects the size.
| String Dragengine.Animators.ADRuleBoneTransformator.getInputBone | ( | ) |
Input bone name.
| ARBoneTransformatorInputSource Dragengine.Animators.ADRuleBoneTransformator.getInputSource | ( | ) |
Input source.
| float Dragengine.Animators.ADRuleBoneTransformator.getMaximumAngle | ( | ) |
Maximum axis rotation angle.
| Vector Dragengine.Animators.ADRuleBoneTransformator.getMaximumRotation | ( | ) |
Maximum rotation.
| Vector Dragengine.Animators.ADRuleBoneTransformator.getMaximumScaling | ( | ) |
Maximum scaling.
| Vector Dragengine.Animators.ADRuleBoneTransformator.getMaximumTranslation | ( | ) |
Maximum translation.
| float Dragengine.Animators.ADRuleBoneTransformator.getMinimumAngle | ( | ) |
Minimum axis rotation angle.
| Vector Dragengine.Animators.ADRuleBoneTransformator.getMinimumRotation | ( | ) |
Minimum rotation.
| Vector Dragengine.Animators.ADRuleBoneTransformator.getMinimumScaling | ( | ) |
Minimum scaling.
| Vector Dragengine.Animators.ADRuleBoneTransformator.getMinimumTranslation | ( | ) |
Mminimum translation.
| String Dragengine.Animators.ADRuleBoneTransformator.getTargetBone | ( | ) |
Target bone name.
| bool Dragengine.Animators.ADRuleBoneTransformator.getUseAxis | ( | ) |
Use rotation axis instead of rotation directly.
| ADRuleBoneTransformator Dragengine.Animators.ADRuleBoneTransformator.new | ( | ) |
Create animation rule definition.
Reimplemented from Dragengine.Animators.ADRule.
| ADRuleBoneTransformator Dragengine.Animators.ADRuleBoneTransformator.new | ( | AnimatorDefinition | fromDef, |
| AnimatorDefinition | toDef, | ||
| ADRuleBoneTransformator | rule | ||
| ) |
Create copy of animation rule definition.
| void Dragengine.Animators.ADRuleBoneTransformator.setAxis | ( | Vector | axis | ) |
Set rotation axis.
| void Dragengine.Animators.ADRuleBoneTransformator.setCoordinateFrame | ( | ARBoneTransformatorCFrame | coordFrame | ) |
Set if coordinate frame of rotation.
| void Dragengine.Animators.ADRuleBoneTransformator.setEnableOrientation | ( | bool | enable | ) |
Set if transformation affects the orientation.
| void Dragengine.Animators.ADRuleBoneTransformator.setEnablePosition | ( | bool | enable | ) |
Set if transformation affects the position.
| void Dragengine.Animators.ADRuleBoneTransformator.setEnableSize | ( | bool | enable | ) |
Set if transformation affects the size.
| void Dragengine.Animators.ADRuleBoneTransformator.setInputBone | ( | String | name | ) |
Set input bone name.
| void Dragengine.Animators.ADRuleBoneTransformator.setInputSource | ( | ARBoneTransformatorInputSource | source | ) |
Set input source.
| void Dragengine.Animators.ADRuleBoneTransformator.setMaximumAngle | ( | float | angle | ) |
Set maximum axis rotation angle.
| void Dragengine.Animators.ADRuleBoneTransformator.setMaximumRotation | ( | Vector | rotation | ) |
Set maximum rotation.
| void Dragengine.Animators.ADRuleBoneTransformator.setMaximumScaling | ( | Vector | scaling | ) |
Set maximum scaling.
| void Dragengine.Animators.ADRuleBoneTransformator.setMaximumTranslation | ( | Vector | translation | ) |
Set maximum translation.
| void Dragengine.Animators.ADRuleBoneTransformator.setMinimumAngle | ( | float | angle | ) |
Set minimum axis rotation angle.
| void Dragengine.Animators.ADRuleBoneTransformator.setMinimumRotation | ( | Vector | rotation | ) |
Set minimum rotation.
| void Dragengine.Animators.ADRuleBoneTransformator.setMinimumScaling | ( | Vector | scaling | ) |
Set minimum scaling.
| void Dragengine.Animators.ADRuleBoneTransformator.setMinimumTranslation | ( | Vector | translation | ) |
Set minimum translation.
| void Dragengine.Animators.ADRuleBoneTransformator.setTargetBone | ( | String | name | ) |
Set target bone name.
| void Dragengine.Animators.ADRuleBoneTransformator.setUseAxis | ( | bool | useAxis | ) |
Set to use rotation axis instead of rotation directly.
| ARBoneTransformatorCFrame Dragengine.Animators.ADRuleBoneTransformator.pCoordFrame |
| bool Dragengine.Animators.ADRuleBoneTransformator.pEnablePosition |
| ARBoneTransformatorInputSource Dragengine.Animators.ADRuleBoneTransformator.pInputSource |
| float Dragengine.Animators.ADRuleBoneTransformator.pMinimumAngle |
| Vector Dragengine.Animators.ADRuleBoneTransformator.pMinimumScaling |
| Vector Dragengine.Animators.ADRuleBoneTransformator.pMinimumTranslation |
| String Dragengine.Animators.ADRuleBoneTransformator.pTargetBone |
| bool Dragengine.Animators.ADRuleBoneTransformator.pUseAxis |