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