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

Public Member Functions

AnimatorRule buildRule (Animator animator)
 
void debug (Console console)
 
bool getEnableOrientation ()
 
bool getEnablePosition ()
 
bool getEnableSize ()
 
int getID ()
 Identifier to snapshot state using animator instance. More...
 
bool getUseLastState ()
 
ADRuleStateSnapshot new ()
 
void setEnableOrientation (bool enable)
 
void setEnablePosition (bool enable)
 
void setEnableSize (bool enable)
 
void setID (int identifier)
 Set identifier to snapshot state using animator instance. More...
 
void setUseLastState (bool useLastState)
 
- 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 state snapshot 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)

§ getEnableOrientation()

bool getEnableOrientation ( )

Determines if the orientation manipulation is enabled.

§ getEnablePosition()

bool getEnablePosition ( )

Determines if the position manipulation is enabled.

§ getEnableSize()

bool getEnableSize ( )

Determines if the size manipulation is enabled.

§ getID()

int getID ( )

Identifier to snapshot state using animator instance.

§ getUseLastState()

bool getUseLastState ( )

Determines if the last state is used.

§ new()

Creates a new animation rule definition.

§ setEnableOrientation()

void setEnableOrientation ( bool  enable)

Sets if the orientation manipulation is enabled.

§ setEnablePosition()

void setEnablePosition ( bool  enable)

Sets if the position manipulation is enabled.

§ setEnableSize()

void setEnableSize ( bool  enable)

Sets if the size manipulation is enabled.

§ setID()

void setID ( int  identifier)

Set identifier to snapshot state using animator instance.

§ setUseLastState()

void setUseLastState ( bool  useLastState)

Sets if the last state is used.


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