|
Drag[en]gine Script Module DragonScript 1.32.1
|
Definition of limit animator rule. More...
Public Member Functions | |
| AnimatorRule | buildRule (Animator animator) |
| Build engine animator rule using the stored definition. | |
| void | debug (Console console) |
| ARLimitCFrame | getCoordinateFrame () |
| Coordinate frame of rotation. | |
| bool | getEnablePosXMax () |
| X position is limited to the maximum. | |
| bool | getEnablePosXMin () |
| X position is limited to the minimum. | |
| bool | getEnablePosYMax () |
| Y position is limited to the mayimum. | |
| bool | getEnablePosYMin () |
| Y position is limited to the minimum. | |
| bool | getEnablePosZMax () |
| Z position is limited to the mazimum. | |
| bool | getEnablePosZMin () |
| Z position is limited to the minimum. | |
| bool | getEnableRotXMax () |
| X rotation is limited to the maximum. | |
| bool | getEnableRotXMin () |
| X rotation is limited to the minimum. | |
| bool | getEnableRotYMax () |
| Y rotation is limited to the mayimum. | |
| bool | getEnableRotYMin () |
| Y rotation is limited to the minimum. | |
| bool | getEnableRotZMax () |
| Z rotation is limited to the mazimum. | |
| bool | getEnableRotZMin () |
| Z rotation is limited to the minimum. | |
| bool | getEnableScaleXMax () |
| X scaling is limited to the maximum. | |
| bool | getEnableScaleXMin () |
| X scaling is limited to the minimum. | |
| bool | getEnableScaleYMax () |
| Y scaling is limited to the mayimum. | |
| bool | getEnableScaleYMin () |
| Y scaling is limited to the minimum. | |
| bool | getEnableScaleZMax () |
| Z scaling is limited to the mazimum. | |
| bool | getEnableScaleZMin () |
| Z scaling is limited to the minimum. | |
| bool | getEnableVertexPositionSetMax () |
| Maximum vertex position set manipulation is enabled. | |
| bool | getEnableVertexPositionSetMin () |
| Minimum vertex position set manipulation is enabled. | |
| Vector | getMaximumPosition () |
| Maximum position. | |
| Vector | getMaximumRotation () |
| Maximum rotation. | |
| Vector | getMaximumScaling () |
| Maximum scaling. | |
| float | getMaximumVertexPositionSet () |
| Maximum vertex position set. | |
| Vector | getMinimumPosition () |
| Minimum position. | |
| Vector | getMinimumRotation () |
| Minimum rotation. | |
| Vector | getMinimumScaling () |
| Minimum scaling. | |
| float | getMinimumVertexPositionSet () |
| Minimum vertex position set weight. | |
| String | getTargetBone () |
| Target bone name. | |
| ADRuleLimit | new () |
| Create animation rule definition. | |
| ADRuleLimit | new (AnimatorDefinition fromDef, AnimatorDefinition toDef, ADRuleLimit rule) |
| Create animation rule definition. | |
| void | setCoordinateFrame (ARLimitCFrame coordFrame) |
| Set if coordinate frame of rotation. | |
| void | setEnablePosXMax (bool enable) |
| Set if x position is limited to the maximum. | |
| void | setEnablePosXMin (bool enable) |
| Set if x position is limited to the minimum. | |
| void | setEnablePosYMax (bool enable) |
| Set if y position is limited to the mayimum. | |
| void | setEnablePosYMin (bool enable) |
| Set if y position is limited to the minimum. | |
| void | setEnablePosZMax (bool enable) |
| Set if z position is limited to the mazimum. | |
| void | setEnablePosZMin (bool enable) |
| Set if z position is limited to the minimum. | |
| void | setEnableRotXMax (bool enable) |
| Set if x rotation is limited to the maximum. | |
| void | setEnableRotXMin (bool enable) |
| Set if x rotation is limited to the minimum. | |
| void | setEnableRotYMax (bool enable) |
| Set if y rotation is limited to the mayimum. | |
| void | setEnableRotYMin (bool enable) |
| Set if y rotation is limited to the minimum. | |
| void | setEnableRotZMax (bool enable) |
| Set if z rotation is limited to the mazimum. | |
| void | setEnableRotZMin (bool enable) |
| Set if z rotation is limited to the minimum. | |
| void | setEnableScaleXMax (bool enable) |
| Set if x scaling is limited to the maximum. | |
| void | setEnableScaleXMin (bool enable) |
| Set if x scaling is limited to the minimum. | |
| void | setEnableScaleYMax (bool enable) |
| Set if y scaling is limited to the mayimum. | |
| void | setEnableScaleYMin (bool enable) |
| Set if y scaling is limited to the minimum. | |
| void | setEnableScaleZMax (bool enable) |
| Set if z scaling is limited to the mazimum. | |
| void | setEnableScaleZMin (bool enable) |
| Set if z scaling is limited to the minimum. | |
| void | setEnableVertexPositionSetMax (bool enable) |
| Set if maximum vertex position set manipulation is enabled. | |
| void | setEnableVertexPositionSetMin (bool enable) |
| Set if minimum vertex position set manipulation is enabled. | |
| void | setMaximumPosition (Vector position) |
| Set maximum position. | |
| void | setMaximumRotation (Vector rotation) |
| Set maximum rotation. | |
| void | setMaximumScaling (Vector scaling) |
| Set maximum scaling. | |
| void | setMaximumVertexPositionSet (float weight) |
| Set maximum scaling. | |
| void | setMinimumPosition (Vector position) |
| Set minimum position. | |
| void | setMinimumRotation (Vector rotation) |
| Set minimum rotation. | |
| void | setMinimumScaling (Vector scaling) |
| Set minimum scaling. | |
| void | setMinimumVertexPositionSet (float weight) |
| Set minimum vertex position set. | |
| void | setTargetBone (String name) |
| Set target bone name. | |
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 limit animator rule.
Once defined a rule can be added to an animator using the stored definition.
| AnimatorRule Dragengine.Animators.ADRuleLimit.buildRule | ( | Animator | animator | ) |
Build engine animator rule using the stored definition.
Reimplemented from Dragengine.Animators.ADRule.
| void Dragengine.Animators.ADRuleLimit.debug | ( | Console | console | ) |
| ARLimitCFrame Dragengine.Animators.ADRuleLimit.getCoordinateFrame | ( | ) |
Coordinate frame of rotation.
| bool Dragengine.Animators.ADRuleLimit.getEnablePosXMax | ( | ) |
X position is limited to the maximum.
| bool Dragengine.Animators.ADRuleLimit.getEnablePosXMin | ( | ) |
X position is limited to the minimum.
| bool Dragengine.Animators.ADRuleLimit.getEnablePosYMax | ( | ) |
Y position is limited to the mayimum.
| bool Dragengine.Animators.ADRuleLimit.getEnablePosYMin | ( | ) |
Y position is limited to the minimum.
| bool Dragengine.Animators.ADRuleLimit.getEnablePosZMax | ( | ) |
Z position is limited to the mazimum.
| bool Dragengine.Animators.ADRuleLimit.getEnablePosZMin | ( | ) |
Z position is limited to the minimum.
| bool Dragengine.Animators.ADRuleLimit.getEnableRotXMax | ( | ) |
X rotation is limited to the maximum.
| bool Dragengine.Animators.ADRuleLimit.getEnableRotXMin | ( | ) |
X rotation is limited to the minimum.
| bool Dragengine.Animators.ADRuleLimit.getEnableRotYMax | ( | ) |
Y rotation is limited to the mayimum.
| bool Dragengine.Animators.ADRuleLimit.getEnableRotYMin | ( | ) |
Y rotation is limited to the minimum.
| bool Dragengine.Animators.ADRuleLimit.getEnableRotZMax | ( | ) |
Z rotation is limited to the mazimum.
| bool Dragengine.Animators.ADRuleLimit.getEnableRotZMin | ( | ) |
Z rotation is limited to the minimum.
| bool Dragengine.Animators.ADRuleLimit.getEnableScaleXMax | ( | ) |
X scaling is limited to the maximum.
| bool Dragengine.Animators.ADRuleLimit.getEnableScaleXMin | ( | ) |
X scaling is limited to the minimum.
| bool Dragengine.Animators.ADRuleLimit.getEnableScaleYMax | ( | ) |
Y scaling is limited to the mayimum.
| bool Dragengine.Animators.ADRuleLimit.getEnableScaleYMin | ( | ) |
Y scaling is limited to the minimum.
| bool Dragengine.Animators.ADRuleLimit.getEnableScaleZMax | ( | ) |
Z scaling is limited to the mazimum.
| bool Dragengine.Animators.ADRuleLimit.getEnableScaleZMin | ( | ) |
Z scaling is limited to the minimum.
| bool Dragengine.Animators.ADRuleLimit.getEnableVertexPositionSetMax | ( | ) |
Maximum vertex position set manipulation is enabled.
| bool Dragengine.Animators.ADRuleLimit.getEnableVertexPositionSetMin | ( | ) |
Minimum vertex position set manipulation is enabled.
| Vector Dragengine.Animators.ADRuleLimit.getMaximumPosition | ( | ) |
Maximum position.
| Vector Dragengine.Animators.ADRuleLimit.getMaximumRotation | ( | ) |
Maximum rotation.
| Vector Dragengine.Animators.ADRuleLimit.getMaximumScaling | ( | ) |
Maximum scaling.
| float Dragengine.Animators.ADRuleLimit.getMaximumVertexPositionSet | ( | ) |
Maximum vertex position set.
| Vector Dragengine.Animators.ADRuleLimit.getMinimumPosition | ( | ) |
Minimum position.
| Vector Dragengine.Animators.ADRuleLimit.getMinimumRotation | ( | ) |
Minimum rotation.
| Vector Dragengine.Animators.ADRuleLimit.getMinimumScaling | ( | ) |
Minimum scaling.
| float Dragengine.Animators.ADRuleLimit.getMinimumVertexPositionSet | ( | ) |
Minimum vertex position set weight.
| String Dragengine.Animators.ADRuleLimit.getTargetBone | ( | ) |
Target bone name.
| ADRuleLimit Dragengine.Animators.ADRuleLimit.new | ( | ) |
Create animation rule definition.
Reimplemented from Dragengine.Animators.ADRule.
| ADRuleLimit Dragengine.Animators.ADRuleLimit.new | ( | AnimatorDefinition | fromDef, |
| AnimatorDefinition | toDef, | ||
| ADRuleLimit | rule | ||
| ) |
Create animation rule definition.
| void Dragengine.Animators.ADRuleLimit.setCoordinateFrame | ( | ARLimitCFrame | coordFrame | ) |
Set if coordinate frame of rotation.
| void Dragengine.Animators.ADRuleLimit.setEnablePosXMax | ( | bool | enable | ) |
Set if x position is limited to the maximum.
| void Dragengine.Animators.ADRuleLimit.setEnablePosXMin | ( | bool | enable | ) |
Set if x position is limited to the minimum.
| void Dragengine.Animators.ADRuleLimit.setEnablePosYMax | ( | bool | enable | ) |
Set if y position is limited to the mayimum.
| void Dragengine.Animators.ADRuleLimit.setEnablePosYMin | ( | bool | enable | ) |
Set if y position is limited to the minimum.
| void Dragengine.Animators.ADRuleLimit.setEnablePosZMax | ( | bool | enable | ) |
Set if z position is limited to the mazimum.
| void Dragengine.Animators.ADRuleLimit.setEnablePosZMin | ( | bool | enable | ) |
Set if z position is limited to the minimum.
| void Dragengine.Animators.ADRuleLimit.setEnableRotXMax | ( | bool | enable | ) |
Set if x rotation is limited to the maximum.
| void Dragengine.Animators.ADRuleLimit.setEnableRotXMin | ( | bool | enable | ) |
Set if x rotation is limited to the minimum.
| void Dragengine.Animators.ADRuleLimit.setEnableRotYMax | ( | bool | enable | ) |
Set if y rotation is limited to the mayimum.
| void Dragengine.Animators.ADRuleLimit.setEnableRotYMin | ( | bool | enable | ) |
Set if y rotation is limited to the minimum.
| void Dragengine.Animators.ADRuleLimit.setEnableRotZMax | ( | bool | enable | ) |
Set if z rotation is limited to the mazimum.
| void Dragengine.Animators.ADRuleLimit.setEnableRotZMin | ( | bool | enable | ) |
Set if z rotation is limited to the minimum.
| void Dragengine.Animators.ADRuleLimit.setEnableScaleXMax | ( | bool | enable | ) |
Set if x scaling is limited to the maximum.
| void Dragengine.Animators.ADRuleLimit.setEnableScaleXMin | ( | bool | enable | ) |
Set if x scaling is limited to the minimum.
| void Dragengine.Animators.ADRuleLimit.setEnableScaleYMax | ( | bool | enable | ) |
Set if y scaling is limited to the mayimum.
| void Dragengine.Animators.ADRuleLimit.setEnableScaleYMin | ( | bool | enable | ) |
Set if y scaling is limited to the minimum.
| void Dragengine.Animators.ADRuleLimit.setEnableScaleZMax | ( | bool | enable | ) |
Set if z scaling is limited to the mazimum.
| void Dragengine.Animators.ADRuleLimit.setEnableScaleZMin | ( | bool | enable | ) |
Set if z scaling is limited to the minimum.
| void Dragengine.Animators.ADRuleLimit.setEnableVertexPositionSetMax | ( | bool | enable | ) |
Set if maximum vertex position set manipulation is enabled.
| void Dragengine.Animators.ADRuleLimit.setEnableVertexPositionSetMin | ( | bool | enable | ) |
Set if minimum vertex position set manipulation is enabled.
| void Dragengine.Animators.ADRuleLimit.setMaximumPosition | ( | Vector | position | ) |
Set maximum position.
| void Dragengine.Animators.ADRuleLimit.setMaximumRotation | ( | Vector | rotation | ) |
Set maximum rotation.
| void Dragengine.Animators.ADRuleLimit.setMaximumScaling | ( | Vector | scaling | ) |
Set maximum scaling.
| void Dragengine.Animators.ADRuleLimit.setMaximumVertexPositionSet | ( | float | weight | ) |
Set maximum scaling.
| void Dragengine.Animators.ADRuleLimit.setMinimumPosition | ( | Vector | position | ) |
Set minimum position.
| void Dragengine.Animators.ADRuleLimit.setMinimumRotation | ( | Vector | rotation | ) |
Set minimum rotation.
| void Dragengine.Animators.ADRuleLimit.setMinimumScaling | ( | Vector | scaling | ) |
Set minimum scaling.
| void Dragengine.Animators.ADRuleLimit.setMinimumVertexPositionSet | ( | float | weight | ) |
Set minimum vertex position set.
| void Dragengine.Animators.ADRuleLimit.setTargetBone | ( | String | name | ) |
Set target bone name.