Drag[en]gine Script Module DragonScript Script API  1.0
ADRuleBoneTransformator Class Reference
Inheritance diagram for ADRuleBoneTransformator:
ADRule

Public Member Functions

AnimatorRule buildRule (Animator animator)
 
void debug (Console console)
 
int getCoordinateFrame ()
 
bool getEnableOrientation ()
 
bool getEnablePosition ()
 
bool getEnableSize ()
 
Vector getMaximumRotation ()
 
Vector getMaximumScaling ()
 
Vector getMaximumTranslation ()
 
Vector getMinimumRotation ()
 
Vector getMinimumTranslation ()
 
String getTargetBone ()
 
ADRuleBoneTransformator new ()
 
void setCoordinateFrame (int coordFrame)
 
void setEnableOrientation (bool enable)
 
void setEnablePosition (bool enable)
 
void setEnableSize (bool enable)
 
void setMaximumRotation (Vector rotation)
 
void setMaximumScaling (Vector scaling)
 
void setMaximumTranslation (Vector translation)
 
void setMinimumRotation (Vector rotation)
 
void setMinimumScaling (Vector scaling)
 
void setMinimumTranslation (Vector translation)
 
void setTargetBone (String name)
 
- Public Member Functions inherited from ADRule
void addBone (String bone)
 
void addTargetLink (ADRuleTargetLink targetLink)
 
AnimatorRule buildRule (Animator animator)
 
void debug (Console console)
 
void forEachTarget (Block ablock)
 Visit targets with a block. More...
 
float getBlendFactor ()
 
int getBlendMode ()
 
String getBoneAt (int index)
 
bool getEnabled ()
 
String getName ()
 
ADRuleTargetLink getTargetLinkAt (int index)
 
int getTargetLinkCount ()
 
ADRule new ()
 
void setBlendFactor (float factor)
 
void setBlendMode (int mode)
 
void setEnabled (bool enabled)
 
void setName (String name)
 

Additional Inherited Members

- Protected Member Functions inherited from ADRule
String debugCommon (String type)
 

Detailed Description

Definition of a bone transformator animator rule. Once defined a rule can be added to an animator using the stored definition.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ buildRule()

AnimatorRule buildRule ( Animator  animator)

Build engine animator rule using the stored definition.

§ debug()

void debug ( Console  console)

§ getCoordinateFrame()

int getCoordinateFrame ( )

Retrieves the coordinate frame of rotation.

§ getEnableOrientation()

bool getEnableOrientation ( )

Determines if the transformation affects the orientation.

§ getEnablePosition()

bool getEnablePosition ( )

Determines if the transformation affects the position.

§ getEnableSize()

bool getEnableSize ( )

Determines if the transformation affects the size.

§ getMaximumRotation()

Vector getMaximumRotation ( )

Retrieves the maximum rotation.

§ getMaximumScaling()

Vector getMaximumScaling ( )

Retrieves the maximum scaling.

§ getMaximumTranslation()

Vector getMaximumTranslation ( )

Retrieves the maximum translation.

§ getMinimumRotation()

Vector getMinimumRotation ( )

Retrieves the minimum rotation.

§ getMinimumTranslation()

Vector getMinimumTranslation ( )

Retrieves the minimum translation.

§ getTargetBone()

String getTargetBone ( )

Retrieves the target bone name.

§ new()

Creates a new animation rule definition.

§ setCoordinateFrame()

void setCoordinateFrame ( int  coordFrame)

Sets if the coordinate frame of rotation.

§ setEnableOrientation()

void setEnableOrientation ( bool  enable)

Sets if the transformation affects the orientation.

§ setEnablePosition()

void setEnablePosition ( bool  enable)

Sets if the transformation affects the position.

§ setEnableSize()

void setEnableSize ( bool  enable)

Sets if the transformation affects the size.

§ setMaximumRotation()

void setMaximumRotation ( Vector  rotation)

Sets the maximum rotation.

§ setMaximumScaling()

void setMaximumScaling ( Vector  scaling)

Sets the maximum scaling.

§ setMaximumTranslation()

void setMaximumTranslation ( Vector  translation)

Sets the maximum translation.

§ setMinimumRotation()

void setMinimumRotation ( Vector  rotation)

Sets the minimum rotation.

§ setMinimumScaling()

void setMinimumScaling ( Vector  scaling)

Sets the minimum scaling.

§ setMinimumTranslation()

void setMinimumTranslation ( Vector  translation)

Sets the minimum translation.

§ setTargetBone()

void setTargetBone ( String  name)

Sets the target bone name.


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