Drag[en]gine Script Module DragonScript
1.21
|
Definition of limit animator rule. More...
Public Member Functions | |
AnimatorRule | buildRule (Animator animator) |
Build engine animator rule using the stored definition. More... | |
void | debug (Console console) |
ARLimitCFrame | getCoordinateFrame () |
Coordinate frame of rotation. More... | |
bool | getEnablePosXMax () |
X position is limited to the maximum. More... | |
bool | getEnablePosXMin () |
X position is limited to the minimum. More... | |
bool | getEnablePosYMax () |
Y position is limited to the mayimum. More... | |
bool | getEnablePosYMin () |
Y position is limited to the minimum. More... | |
bool | getEnablePosZMax () |
Z position is limited to the mazimum. More... | |
bool | getEnablePosZMin () |
Z position is limited to the minimum. More... | |
bool | getEnableRotXMax () |
X rotation is limited to the maximum. More... | |
bool | getEnableRotXMin () |
X rotation is limited to the minimum. More... | |
bool | getEnableRotYMax () |
Y rotation is limited to the mayimum. More... | |
bool | getEnableRotYMin () |
Y rotation is limited to the minimum. More... | |
bool | getEnableRotZMax () |
Z rotation is limited to the mazimum. More... | |
bool | getEnableRotZMin () |
Z rotation is limited to the minimum. More... | |
bool | getEnableScaleXMax () |
X scaling is limited to the maximum. More... | |
bool | getEnableScaleXMin () |
X scaling is limited to the minimum. More... | |
bool | getEnableScaleYMax () |
Y scaling is limited to the mayimum. More... | |
bool | getEnableScaleYMin () |
Y scaling is limited to the minimum. More... | |
bool | getEnableScaleZMax () |
Z scaling is limited to the mazimum. More... | |
bool | getEnableScaleZMin () |
Z scaling is limited to the minimum. More... | |
bool | getEnableVertexPositionSetMax () |
Maximum vertex position set manipulation is enabled. More... | |
bool | getEnableVertexPositionSetMin () |
Minimum vertex position set manipulation is enabled. More... | |
Vector | getMaximumPosition () |
Maximum position. More... | |
Vector | getMaximumRotation () |
Maximum rotation. More... | |
Vector | getMaximumScaling () |
Maximum scaling. More... | |
float | getMaximumVertexPositionSet () |
Maximum vertex position set. More... | |
Vector | getMinimumPosition () |
Minimum position. More... | |
Vector | getMinimumRotation () |
Minimum rotation. More... | |
Vector | getMinimumScaling () |
Minimum scaling. More... | |
float | getMinimumVertexPositionSet () |
Minimum vertex position set weight. More... | |
String | getTargetBone () |
Target bone name. More... | |
ADRuleLimit | new () |
Create animation rule definition. More... | |
ADRuleLimit | new (AnimatorDefinition fromDef, AnimatorDefinition toDef, ADRuleLimit rule) |
Create animation rule definition. More... | |
void | setCoordinateFrame (ARLimitCFrame coordFrame) |
Set if coordinate frame of rotation. More... | |
void | setEnablePosXMax (bool enable) |
Set if x position is limited to the maximum. More... | |
void | setEnablePosXMin (bool enable) |
Set if x position is limited to the minimum. More... | |
void | setEnablePosYMax (bool enable) |
Set if y position is limited to the mayimum. More... | |
void | setEnablePosYMin (bool enable) |
Set if y position is limited to the minimum. More... | |
void | setEnablePosZMax (bool enable) |
Set if z position is limited to the mazimum. More... | |
void | setEnablePosZMin (bool enable) |
Set if z position is limited to the minimum. More... | |
void | setEnableRotXMax (bool enable) |
Set if x rotation is limited to the maximum. More... | |
void | setEnableRotXMin (bool enable) |
Set if x rotation is limited to the minimum. More... | |
void | setEnableRotYMax (bool enable) |
Set if y rotation is limited to the mayimum. More... | |
void | setEnableRotYMin (bool enable) |
Set if y rotation is limited to the minimum. More... | |
void | setEnableRotZMax (bool enable) |
Set if z rotation is limited to the mazimum. More... | |
void | setEnableRotZMin (bool enable) |
Set if z rotation is limited to the minimum. More... | |
void | setEnableScaleXMax (bool enable) |
Set if x scaling is limited to the maximum. More... | |
void | setEnableScaleXMin (bool enable) |
Set if x scaling is limited to the minimum. More... | |
void | setEnableScaleYMax (bool enable) |
Set if y scaling is limited to the mayimum. More... | |
void | setEnableScaleYMin (bool enable) |
Set if y scaling is limited to the minimum. More... | |
void | setEnableScaleZMax (bool enable) |
Set if z scaling is limited to the mazimum. More... | |
void | setEnableScaleZMin (bool enable) |
Set if z scaling is limited to the minimum. More... | |
void | setEnableVertexPositionSetMax (bool enable) |
Set if maximum vertex position set manipulation is enabled. More... | |
void | setEnableVertexPositionSetMin (bool enable) |
Set if minimum vertex position set manipulation is enabled. More... | |
void | setMaximumPosition (Vector position) |
Set maximum position. More... | |
void | setMaximumRotation (Vector rotation) |
Set maximum rotation. More... | |
void | setMaximumScaling (Vector scaling) |
Set maximum scaling. More... | |
void | setMaximumVertexPositionSet (float weight) |
Set maximum scaling. More... | |
void | setMinimumPosition (Vector position) |
Set minimum position. More... | |
void | setMinimumRotation (Vector rotation) |
Set minimum rotation. More... | |
void | setMinimumScaling (Vector scaling) |
Set minimum scaling. More... | |
void | setMinimumVertexPositionSet (float weight) |
Set minimum vertex position set. More... | |
void | setTargetBone (String name) |
Set target bone name. More... | |
Public Member Functions inherited from Dragengine.Animators.ADRule | |
void | addBone (String bone) |
Add bone. More... | |
void | addTargetLink (ADRuleTargetLink targetLink) |
Add target link. More... | |
void | addVertexPositionSet (String vertexPositionSet) |
Add vertex position set. More... | |
void | forEachTarget (Block ablock) |
Visit target links with a block. More... | |
float | getBlendFactor () |
Blend factor. More... | |
AnimatorRuleBlendMode | getBlendMode () |
Blend mode. More... | |
String | getBoneAt (int index) |
Bone at index. More... | |
int | getBoneCount () |
Count of bones. More... | |
bool | getEnabled () |
Rule is enabled. More... | |
bool | getInvertBlendFactor () |
Invert blend factor (1 - blendFactor). More... | |
ADRuleTargetLink | getTargetLinkAt (int index) |
Target link at index. More... | |
int | getTargetLinkCount () |
Count of target links. More... | |
String | getVertexPositionSetAt (int index) |
Vertex position set at index. More... | |
int | getVertexPositionSetCount () |
Count of vertex position sets. More... | |
void | removeAllTargetLinks () |
Remove all target links. More... | |
void | setBlendFactor (float factor) |
Set blend factor. More... | |
void | setBlendMode (AnimatorRuleBlendMode mode) |
Set blend mode. More... | |
void | setEnabled (bool enabled) |
Set if rule is enabled. More... | |
void | setInvertBlendFactor (bool invertBlendFactor) |
Set invert blend factor (1 - blendFactor). More... | |
void | setName (String name) |
Set name of rule. More... | |
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. More... | |
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.