Drag[en]gine Script Module DragonScript Script API  1.0
ARBoneTransformator Class Reference

Animator rule bone transformator. More...

Inheritance diagram for ARBoneTransformator:
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 setCoordinateFrame (int coordinateFrame)
 Set coordinate frame. More...
 
void setTargetBone (String bone)
 Set target bone or empty string if not set. More...
 
void targetAddLink (int target, int link)
 Add link to target. More...
 
void targetRemoveAllLinks (int target)
 Remove all links from target. More...
 
- Public Member Functions inherited from AnimatorRule
void setEnabled (bool enabled)
 Set if rule is enabled. More...
 
void setBlendMode (int blendMode)
 Set blend mode. More...
 
void setBlendFactor (float blendFactor)
 Set blend factor clamped to the range from 0 to 1. 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...
 

Static Public Attributes

Coordinate frame.
static final int CFRAME_LOCAL = 0
 Bone local coordinate frame. More...
 
static final int CFRAME_COMPONENT = 1
 Component coordinate frame. More...
 
static final int CFRAME_TARGET = 2
 Target bone coordinate frame. More...
 
Targets.
static final int TARGET_BLEND_FACTOR = 0
 Blend factor target. More...
 
static final int TARGET_TRANSLATION = 1
 Translation target. More...
 
static final int TARGET_ROTATION = 2
 Rotation target. More...
 
static final int TARGET_SCALING = 3
 Scaling target. More...
 
- Static Public Attributes inherited from AnimatorRule
static final int BLEND = 0
 Blend from the existing state over to the state produced by the rule. More...
 
static final int OVERLAY = 1
 Overlay the existing state with to the state produced by the rule. More...
 

Additional Inherited Members

- Protected Member Functions inherited from AnimatorRule
AnimatorRule new ()
 Create animator rule. More...
 

Detailed Description

Animator rule bone transformator.

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

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ new()

Create animator rule.

§ setCoordinateFrame()

void setCoordinateFrame ( int  coordinateFrame)

Set coordinate frame.

Exceptions
EInvalidParamcoordinateFrame is an invalid value.

§ setEnableOrientation()

void setEnableOrientation ( bool  enabled)

Enable orientation modification.

§ setEnablePosition()

void setEnablePosition ( bool  enabled)

Enable position modification.

§ setEnableSize()

void setEnableSize ( bool  enabled)

Enable size modification.

§ setMaximumRotation()

void setMaximumRotation ( Vector  rotation)

Set maximum rotation value.

§ setMaximumScaling()

void setMaximumScaling ( Vector  scaling)

Set maximum scaling value.

§ setMaximumTranslation()

void setMaximumTranslation ( Vector  translation)

Set maximum translation value.

§ setMinimumRotation()

void setMinimumRotation ( Vector  rotation)

Set minimum rotation value.

§ setMinimumScaling()

void setMinimumScaling ( Vector  scaling)

Set minimum scaleing value.

§ setMinimumTranslation()

void setMinimumTranslation ( Vector  translation)

Set minimum translation value.

§ setTargetBone()

void setTargetBone ( String  bone)

Set target bone or empty string if not set.

§ targetAddLink()

void targetAddLink ( int  target,
int  link 
)

Add link to target.

Exceptions
EInvalidParamtarget is not a valid value.

§ targetRemoveAllLinks()

void targetRemoveAllLinks ( int  target)

Remove all links from target.

Exceptions
EInvalidParamtarget is not a valid value.

Member Data Documentation

§ CFRAME_COMPONENT

final int CFRAME_COMPONENT = 1
static

Component coordinate frame.

§ CFRAME_LOCAL

final int CFRAME_LOCAL = 0
static

Bone local coordinate frame.

§ CFRAME_TARGET

final int CFRAME_TARGET = 2
static

Target bone coordinate frame.

§ TARGET_BLEND_FACTOR

final int TARGET_BLEND_FACTOR = 0
static

Blend factor target.

§ TARGET_ROTATION

final int TARGET_ROTATION = 2
static

Rotation target.

§ TARGET_SCALING

final int TARGET_SCALING = 3
static

Scaling target.

§ TARGET_TRANSLATION

final int TARGET_TRANSLATION = 1
static

Translation target.


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