Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Animators.ADRuleLimit Class Reference

Definition of limit animator rule. More...

Inheritance diagram for Dragengine.Animators.ADRuleLimit:
Dragengine.Animators.ADRule

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.

Detailed Description

Definition of limit animator rule.

Once defined a rule can be added to an animator using the stored definition.

Member Function Documentation

◆ buildRule()

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().

◆ debug()

◆ getCoordinateFrame()

ARLimitCFrame Dragengine.Animators.ADRuleLimit.getCoordinateFrame ( )

Coordinate frame of rotation.

Referenced by getEnableScaleZMax().

◆ getEnablePosXMax()

bool Dragengine.Animators.ADRuleLimit.getEnablePosXMax ( )

X position is limited to the maximum.

Referenced by buildRule().

◆ getEnablePosXMin()

bool Dragengine.Animators.ADRuleLimit.getEnablePosXMin ( )

X position is limited to the minimum.

References setMinimumPosition().

Referenced by getEnableVertexPositionSetMax().

◆ getEnablePosYMax()

bool Dragengine.Animators.ADRuleLimit.getEnablePosYMax ( )

Y position is limited to the mayimum.

Referenced by debug().

◆ getEnablePosYMin()

bool Dragengine.Animators.ADRuleLimit.getEnablePosYMin ( )

Y position is limited to the minimum.

Referenced by debug().

◆ getEnablePosZMax()

bool Dragengine.Animators.ADRuleLimit.getEnablePosZMax ( )

Z position is limited to the mazimum.

References new().

Referenced by debug().

◆ getEnablePosZMin()

bool Dragengine.Animators.ADRuleLimit.getEnablePosZMin ( )

Z position is limited to the minimum.

Referenced by debug().

◆ getEnableRotXMax()

bool Dragengine.Animators.ADRuleLimit.getEnableRotXMax ( )

X rotation is limited to the maximum.

Referenced by debug().

◆ getEnableRotXMin()

bool Dragengine.Animators.ADRuleLimit.getEnableRotXMin ( )

X rotation is limited to the minimum.

Referenced by debug().

◆ getEnableRotYMax()

bool Dragengine.Animators.ADRuleLimit.getEnableRotYMax ( )

Y rotation is limited to the mayimum.

References new().

Referenced by debug().

◆ getEnableRotYMin()

bool Dragengine.Animators.ADRuleLimit.getEnableRotYMin ( )

Y rotation is limited to the minimum.

Referenced by debug().

◆ getEnableRotZMax()

bool Dragengine.Animators.ADRuleLimit.getEnableRotZMax ( )

Z rotation is limited to the mazimum.

References new().

Referenced by debug().

◆ getEnableRotZMin()

bool Dragengine.Animators.ADRuleLimit.getEnableRotZMin ( )

Z rotation is limited to the minimum.

References getMaximumScaling().

Referenced by debug().

◆ getEnableScaleXMax()

bool Dragengine.Animators.ADRuleLimit.getEnableScaleXMax ( )

X scaling is limited to the maximum.

Referenced by debug().

◆ getEnableScaleXMin()

bool Dragengine.Animators.ADRuleLimit.getEnableScaleXMin ( )

X scaling is limited to the minimum.

References getMinimumVertexPositionSet().

Referenced by debug().

◆ getEnableScaleYMax()

bool Dragengine.Animators.ADRuleLimit.getEnableScaleYMax ( )

Y scaling is limited to the mayimum.

References getMaximumVertexPositionSet().

Referenced by debug().

◆ getEnableScaleYMin()

bool Dragengine.Animators.ADRuleLimit.getEnableScaleYMin ( )

Y scaling is limited to the minimum.

Referenced by debug().

◆ getEnableScaleZMax()

bool Dragengine.Animators.ADRuleLimit.getEnableScaleZMax ( )

Z scaling is limited to the mazimum.

References getCoordinateFrame().

Referenced by debug().

◆ getEnableScaleZMin()

bool Dragengine.Animators.ADRuleLimit.getEnableScaleZMin ( )

Z scaling is limited to the minimum.

References setMaximumVertexPositionSet().

Referenced by debug().

◆ getEnableVertexPositionSetMax()

bool Dragengine.Animators.ADRuleLimit.getEnableVertexPositionSetMax ( )

Maximum vertex position set manipulation is enabled.

Version
1.17

References getEnablePosXMin().

Referenced by debug().

◆ getEnableVertexPositionSetMin()

bool Dragengine.Animators.ADRuleLimit.getEnableVertexPositionSetMin ( )

Minimum vertex position set manipulation is enabled.

Version
1.17

References getTargetBone(), and setTargetBone().

Referenced by debug().

◆ getMaximumPosition()

Vector Dragengine.Animators.ADRuleLimit.getMaximumPosition ( )

Maximum position.

Referenced by setEnablePosXMax().

◆ getMaximumRotation()

Vector Dragengine.Animators.ADRuleLimit.getMaximumRotation ( )

Maximum rotation.

Referenced by setEnablePosZMax().

◆ getMaximumScaling()

Vector Dragengine.Animators.ADRuleLimit.getMaximumScaling ( )

Maximum scaling.

References new().

Referenced by getEnableRotZMin().

◆ getMaximumVertexPositionSet()

float Dragengine.Animators.ADRuleLimit.getMaximumVertexPositionSet ( )

Maximum vertex position set.

Version
1.17

Referenced by getEnableScaleYMax().

◆ getMinimumPosition()

Vector Dragengine.Animators.ADRuleLimit.getMinimumPosition ( )

Minimum position.

Referenced by setTargetBone().

◆ getMinimumRotation()

Vector Dragengine.Animators.ADRuleLimit.getMinimumRotation ( )

Minimum rotation.

Referenced by setEnablePosYMax().

◆ getMinimumScaling()

Vector Dragengine.Animators.ADRuleLimit.getMinimumScaling ( )

Minimum scaling.

Referenced by setEnableRotXMax().

◆ getMinimumVertexPositionSet()

float Dragengine.Animators.ADRuleLimit.getMinimumVertexPositionSet ( )

Minimum vertex position set weight.

Version
1.17

Referenced by getEnableScaleXMin().

◆ getTargetBone()

String Dragengine.Animators.ADRuleLimit.getTargetBone ( )

Target bone name.

Referenced by getEnableVertexPositionSetMin().

◆ new() [1/2]

ADRuleLimit Dragengine.Animators.ADRuleLimit.new ( )

◆ new() [2/2]

ADRuleLimit Dragengine.Animators.ADRuleLimit.new ( AnimatorDefinition fromDef,
AnimatorDefinition toDef,
ADRuleLimit rule )

Create animation rule definition.

References new().

◆ setCoordinateFrame()

void Dragengine.Animators.ADRuleLimit.setCoordinateFrame ( ARLimitCFrame coordFrame)

Set if coordinate frame of rotation.

Referenced by debug(), and setEnableScaleZMax().

◆ setEnablePosXMax()

void Dragengine.Animators.ADRuleLimit.setEnablePosXMax ( bool enable)

Set if x position is limited to the maximum.

References getMaximumPosition().

Referenced by debug().

◆ setEnablePosXMin()

void Dragengine.Animators.ADRuleLimit.setEnablePosXMin ( bool enable)

Set if x position is limited to the minimum.

References new().

Referenced by setEnableVertexPositionSetMax().

◆ setEnablePosYMax()

void Dragengine.Animators.ADRuleLimit.setEnablePosYMax ( bool enable)

Set if y position is limited to the mayimum.

References getMinimumRotation().

Referenced by debug().

◆ setEnablePosYMin()

void Dragengine.Animators.ADRuleLimit.setEnablePosYMin ( bool enable)

Set if y position is limited to the minimum.

References new(), and setMaximumPosition().

Referenced by debug().

◆ setEnablePosZMax()

void Dragengine.Animators.ADRuleLimit.setEnablePosZMax ( bool enable)

Set if z position is limited to the mazimum.

References getMaximumRotation().

Referenced by debug().

◆ setEnablePosZMin()

void Dragengine.Animators.ADRuleLimit.setEnablePosZMin ( bool enable)

Set if z position is limited to the minimum.

References setMinimumRotation().

Referenced by debug().

◆ setEnableRotXMax()

void Dragengine.Animators.ADRuleLimit.setEnableRotXMax ( bool enable)

Set if x rotation is limited to the maximum.

References getMinimumScaling().

Referenced by debug().

◆ setEnableRotXMin()

void Dragengine.Animators.ADRuleLimit.setEnableRotXMin ( bool enable)

Set if x rotation is limited to the minimum.

References new(), and setMaximumRotation().

Referenced by debug().

◆ setEnableRotYMax()

void Dragengine.Animators.ADRuleLimit.setEnableRotYMax ( bool enable)

Set if y rotation is limited to the mayimum.

Referenced by debug().

◆ setEnableRotYMin()

void Dragengine.Animators.ADRuleLimit.setEnableRotYMin ( bool enable)

Set if y rotation is limited to the minimum.

References setMinimumScaling().

Referenced by debug().

◆ setEnableRotZMax()

void Dragengine.Animators.ADRuleLimit.setEnableRotZMax ( bool enable)

Set if z rotation is limited to the mazimum.

Referenced by debug().

◆ setEnableRotZMin()

void Dragengine.Animators.ADRuleLimit.setEnableRotZMin ( bool enable)

Set if z rotation is limited to the minimum.

References setMaximumScaling().

Referenced by debug().

◆ setEnableScaleXMax()

void Dragengine.Animators.ADRuleLimit.setEnableScaleXMax ( bool enable)

Set if x scaling is limited to the maximum.

References setMinimumVertexPositionSet().

Referenced by debug().

◆ setEnableScaleXMin()

void Dragengine.Animators.ADRuleLimit.setEnableScaleXMin ( bool enable)

Set if x scaling is limited to the minimum.

Referenced by debug().

◆ setEnableScaleYMax()

void Dragengine.Animators.ADRuleLimit.setEnableScaleYMax ( bool enable)

Set if y scaling is limited to the mayimum.

Referenced by debug().

◆ setEnableScaleYMin()

void Dragengine.Animators.ADRuleLimit.setEnableScaleYMin ( bool enable)

Set if y scaling is limited to the minimum.

Referenced by debug().

◆ setEnableScaleZMax()

void Dragengine.Animators.ADRuleLimit.setEnableScaleZMax ( bool enable)

Set if z scaling is limited to the mazimum.

References setCoordinateFrame().

Referenced by debug().

◆ setEnableScaleZMin()

void Dragengine.Animators.ADRuleLimit.setEnableScaleZMin ( bool enable)

Set if z scaling is limited to the minimum.

Referenced by debug().

◆ setEnableVertexPositionSetMax()

void Dragengine.Animators.ADRuleLimit.setEnableVertexPositionSetMax ( bool enable)

Set if maximum vertex position set manipulation is enabled.

Version
1.17

References setEnablePosXMin().

Referenced by debug().

◆ setEnableVertexPositionSetMin()

void Dragengine.Animators.ADRuleLimit.setEnableVertexPositionSetMin ( bool enable)

Set if minimum vertex position set manipulation is enabled.

Version
1.17

References new().

Referenced by debug().

◆ setMaximumPosition()

void Dragengine.Animators.ADRuleLimit.setMaximumPosition ( Vector position)

Set maximum position.

Referenced by debug(), and setEnablePosYMin().

◆ setMaximumRotation()

void Dragengine.Animators.ADRuleLimit.setMaximumRotation ( Vector rotation)

Set maximum rotation.

Referenced by debug(), and setEnableRotXMin().

◆ setMaximumScaling()

void Dragengine.Animators.ADRuleLimit.setMaximumScaling ( Vector scaling)

Set maximum scaling.

Referenced by debug(), and setEnableRotZMin().

◆ setMaximumVertexPositionSet()

void Dragengine.Animators.ADRuleLimit.setMaximumVertexPositionSet ( float weight)

Set maximum scaling.

Version
1.17

Referenced by debug(), and getEnableScaleZMin().

◆ setMinimumPosition()

void Dragengine.Animators.ADRuleLimit.setMinimumPosition ( Vector position)

Set minimum position.

Referenced by debug(), and getEnablePosXMin().

◆ setMinimumRotation()

void Dragengine.Animators.ADRuleLimit.setMinimumRotation ( Vector rotation)

Set minimum rotation.

Referenced by debug(), and setEnablePosZMin().

◆ setMinimumScaling()

void Dragengine.Animators.ADRuleLimit.setMinimumScaling ( Vector scaling)

Set minimum scaling.

Referenced by debug(), and setEnableRotYMin().

◆ setMinimumVertexPositionSet()

void Dragengine.Animators.ADRuleLimit.setMinimumVertexPositionSet ( float weight)

Set minimum vertex position set.

Version
1.17

Referenced by debug(), and setEnableScaleXMax().

◆ setTargetBone()

void Dragengine.Animators.ADRuleLimit.setTargetBone ( String name)

Set target bone name.

References getMinimumPosition().

Referenced by debug(), and getEnableVertexPositionSetMin().


The documentation for this class was generated from the following file: