Drag[en]gine Script Module DragonScript  1.23
Dragengine.Scenery.ARBoneTransformator Class Reference

Animator rule bone transformator. More...

Inheritance diagram for Dragengine.Scenery.ARBoneTransformator:
Dragengine.Scenery.AnimatorRule

Public Member Functions

Constructors
ARBoneTransformator new ()
 Create animator rule. More...
 
Management
void setEnablePosition (bool enabled)
 Enable position modification. More...
 
void setEnableOrientation (bool enabled)
 Enable orientation modification. More...
 
void setEnableSize (bool enabled)
 Enable size modification. More...
 
void setMinimumTranslation (Vector translation)
 Set minimum translation value. More...
 
void setMaximumTranslation (Vector translation)
 Set maximum translation value. More...
 
void setMinimumRotation (Vector rotation)
 Set minimum rotation value. More...
 
void setMaximumRotation (Vector rotation)
 Set maximum rotation value. More...
 
void setMinimumScaling (Vector scaling)
 Set minimum scaleing value. More...
 
void setMaximumScaling (Vector scaling)
 Set maximum scaling value. More...
 
void setAxis (Vector axis)
 Set rotation axis. More...
 
void setMinimumAngle (float angle)
 Set minimum axis rotation angle. More...
 
void setMaximumAngle (float angle)
 Set maximum axis rotation angle. More...
 
void setUseAxis (bool useAxis)
 Use rotation axis instead of rotation directly. More...
 
void setCoordinateFrame (ARBoneTransformatorCFrame coordinateFrame)
 Set coordinate frame. More...
 
void setTargetBone (String bone)
 Set target bone or empty string if not set. More...
 
void targetAddLink (ARBoneTransformatorTarget target, int link)
 Add link to target. More...
 
void targetRemoveAllLinks (ARBoneTransformatorTarget target)
 Remove all links from target. More...
 
- Public Member Functions inherited from Dragengine.Scenery.AnimatorRule
void setEnabled (bool enabled)
 Set if rule is enabled. More...
 
void setBlendMode (AnimatorRuleBlendMode blendMode)
 Set blend mode. More...
 
void setBlendFactor (float blendFactor)
 Set blend factor clamped to the range from 0 to 1. More...
 
void setInvertBlendFactor (bool invertBlendFactor)
 Invert blend factor (1 - blendFactor). More...
 
void addBone (String bone)
 Add bone. More...
 
void removeAllBones ()
 Remove all bones. More...
 
void copyBonesFrom (AnimatorRule rule)
 Copy all bones from another rule. More...
 
void addVertexPositionSet (String vertexPositionSet)
 Add vertex position set. More...
 
void removeAllVertexPositionSets ()
 Remove all vertex position sets. More...
 
void copyVertexPositionSetsFrom (AnimatorRule rule)
 Copy all vertex position sets from another rule. More...
 

Additional Inherited Members

Constructors

Detailed Description

Animator rule bone transformator.

This is a native class. It can not be subclassed.

Member Function Documentation

◆ new()

ARBoneTransformator Dragengine.Scenery.ARBoneTransformator.new ( )

Create animator rule.

Reimplemented from Dragengine.Scenery.AnimatorRule.

◆ setAxis()

void Dragengine.Scenery.ARBoneTransformator.setAxis ( Vector  axis)

Set rotation axis.

Version
1.6

◆ setCoordinateFrame()

void Dragengine.Scenery.ARBoneTransformator.setCoordinateFrame ( ARBoneTransformatorCFrame  coordinateFrame)

Set coordinate frame.

Exceptions
EInvalidParamcoordinateFrame is an invalid value.

◆ setEnableOrientation()

void Dragengine.Scenery.ARBoneTransformator.setEnableOrientation ( bool  enabled)

Enable orientation modification.

◆ setEnablePosition()

void Dragengine.Scenery.ARBoneTransformator.setEnablePosition ( bool  enabled)

Enable position modification.

◆ setEnableSize()

void Dragengine.Scenery.ARBoneTransformator.setEnableSize ( bool  enabled)

Enable size modification.

◆ setMaximumAngle()

void Dragengine.Scenery.ARBoneTransformator.setMaximumAngle ( float  angle)

Set maximum axis rotation angle.

Version
1.6

◆ setMaximumRotation()

void Dragengine.Scenery.ARBoneTransformator.setMaximumRotation ( Vector  rotation)

Set maximum rotation value.

◆ setMaximumScaling()

void Dragengine.Scenery.ARBoneTransformator.setMaximumScaling ( Vector  scaling)

Set maximum scaling value.

◆ setMaximumTranslation()

void Dragengine.Scenery.ARBoneTransformator.setMaximumTranslation ( Vector  translation)

Set maximum translation value.

◆ setMinimumAngle()

void Dragengine.Scenery.ARBoneTransformator.setMinimumAngle ( float  angle)

Set minimum axis rotation angle.

Version
1.6

◆ setMinimumRotation()

void Dragengine.Scenery.ARBoneTransformator.setMinimumRotation ( Vector  rotation)

Set minimum rotation value.

◆ setMinimumScaling()

void Dragengine.Scenery.ARBoneTransformator.setMinimumScaling ( Vector  scaling)

Set minimum scaleing value.

◆ setMinimumTranslation()

void Dragengine.Scenery.ARBoneTransformator.setMinimumTranslation ( Vector  translation)

Set minimum translation value.

◆ setTargetBone()

void Dragengine.Scenery.ARBoneTransformator.setTargetBone ( String  bone)

Set target bone or empty string if not set.

◆ setUseAxis()

void Dragengine.Scenery.ARBoneTransformator.setUseAxis ( bool  useAxis)

Use rotation axis instead of rotation directly.

Version
1.6

◆ targetAddLink()

void Dragengine.Scenery.ARBoneTransformator.targetAddLink ( ARBoneTransformatorTarget  target,
int  link 
)

Add link to target.

Exceptions
EInvalidParamtarget is not a valid value.

◆ targetRemoveAllLinks()

void Dragengine.Scenery.ARBoneTransformator.targetRemoveAllLinks ( ARBoneTransformatorTarget  target)

Remove all links from target.

Exceptions
EInvalidParamtarget is not a valid value.

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