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

Public Member Functions

AnimatorRule buildRule (Animator animator)
void debug (Console console)
int getLockedAxis ()
int getTrackAxis ()
String getTrackBone ()
int getUpAxis ()
int getUpTarget ()
ADRuleTrackTo new ()
void setLockedAxis (int axis)
void setTrackAxis (int axis)
void setTrackBone (String boneName)
void setUpAxis (int axis)
void setUpTarget (int target)
- 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 track to animator rule. Once defined a rule can be added to an animator using the stored definition.

Roland Pl├╝ss

Member Function Documentation

§ buildRule()

AnimatorRule buildRule ( Animator  animator)

Build engine animator rule using the stored definition.

§ debug()

void debug ( Console  console)

§ getLockedAxis()

int getLockedAxis ( )

Retrieves the locked axis.

§ getTrackAxis()

int getTrackAxis ( )

Retrieves the track axis.

§ getTrackBone()

String getTrackBone ( )

Retrieves the name of the track bone or empty string to use none.

§ getUpAxis()

int getUpAxis ( )

Retrieves the up axis.

§ getUpTarget()

int getUpTarget ( )

Retrieves the up target.

§ new()

ADRuleTrackTo new ( )

Creates a new animation rule definition.

§ setLockedAxis()

void setLockedAxis ( int  axis)

Sets the locked axis.

§ setTrackAxis()

void setTrackAxis ( int  axis)

Sets the track axis.

§ setTrackBone()

void setTrackBone ( String  boneName)

Sets the name of the track bone or empty string to use none.

§ setUpAxis()

void setUpAxis ( int  axis)

Sets the up axis.

§ setUpTarget()

void setUpTarget ( int  target)

Sets the up target.

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