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