Animator Animation Difference Rule Class. More...
#include <deAnimatorRuleAnimationDifference.h>
Public Member Functions | |
Constructors and Destructors | |
| deAnimatorRuleAnimationDifference () | |
| Creates a new animator rule. | |
| virtual | ~deAnimatorRuleAnimationDifference () |
| Cleans up the animator rule. | |
Management | |
| const char * | GetLeadingMoveName () const |
| Retrieves the name of the leading animation move. | |
| void | SetLeadingMoveName (const char *moveName) |
| Sets the leading animation move name. | |
| float | GetLeadingMoveTime () const |
| Retrieves the leading animation move time. | |
| void | SetLeadingMoveTime (float moveTime) |
| Sets the leading animation move time. | |
| const char * | GetReferenceMoveName () const |
| Retrieves the name of the reference animation move. | |
| void | SetReferenceMoveName (const char *moveName) |
| Sets the reference animation move name. | |
| float | GetReferenceMoveTime () const |
| Retrieves the reference animation move time. | |
| void | SetReferenceMoveTime (float moveTime) |
| Sets the reference animation move time. | |
| bool | GetUseSameMove () const |
| Determines if the reference move is the same as the leading move. | |
| void | SetUseSameMove (bool useSameMove) |
| Sets if the reference move is the same as the leading move. | |
| deAnimatorControllerTarget & | GetTargetLeadingMoveTime () |
| Retrieves the leading move time target. | |
| deAnimatorControllerTarget & | GetTargetReferenceMoveTime () |
| Retrieves the reference move time target. | |
Visiting | |
| virtual void | Visit (deAnimatorRuleVisitor *visitor) |
| Visits the rule. | |
Animator Animation Difference Rule Class.
Retrieves two animation states from two different animation frames and calculates the difference between the two states. This difference is then blended over the existing state. State 1 is considered the leading state whereas state 2 is considered the reference state. The difference is taken from the leading state minus the reference state. If both states use the same move an additional flag can be set so you only have to set the move of the leading state to set both moves.
| deAnimatorRuleAnimationDifference::deAnimatorRuleAnimationDifference | ( | ) |
Creates a new animator rule.
| virtual deAnimatorRuleAnimationDifference::~deAnimatorRuleAnimationDifference | ( | ) | [virtual] |
Cleans up the animator rule.
| const char* deAnimatorRuleAnimationDifference::GetLeadingMoveName | ( | ) | const [inline] |
Retrieves the name of the leading animation move.
| float deAnimatorRuleAnimationDifference::GetLeadingMoveTime | ( | ) | const [inline] |
Retrieves the leading animation move time.
| const char* deAnimatorRuleAnimationDifference::GetReferenceMoveName | ( | ) | const [inline] |
Retrieves the name of the reference animation move.
| float deAnimatorRuleAnimationDifference::GetReferenceMoveTime | ( | ) | const [inline] |
Retrieves the reference animation move time.
| deAnimatorControllerTarget& deAnimatorRuleAnimationDifference::GetTargetLeadingMoveTime | ( | ) | [inline] |
Retrieves the leading move time target.
| deAnimatorControllerTarget& deAnimatorRuleAnimationDifference::GetTargetReferenceMoveTime | ( | ) | [inline] |
Retrieves the reference move time target.
| bool deAnimatorRuleAnimationDifference::GetUseSameMove | ( | ) | const [inline] |
Determines if the reference move is the same as the leading move.
| void deAnimatorRuleAnimationDifference::SetLeadingMoveName | ( | const char * | moveName ) |
Sets the leading animation move name.
| void deAnimatorRuleAnimationDifference::SetLeadingMoveTime | ( | float | moveTime ) |
Sets the leading animation move time.
| void deAnimatorRuleAnimationDifference::SetReferenceMoveName | ( | const char * | moveName ) |
Sets the reference animation move name.
| void deAnimatorRuleAnimationDifference::SetReferenceMoveTime | ( | float | moveTime ) |
Sets the reference animation move time.
| void deAnimatorRuleAnimationDifference::SetUseSameMove | ( | bool | useSameMove ) |
Sets if the reference move is the same as the leading move.
| virtual void deAnimatorRuleAnimationDifference::Visit | ( | deAnimatorRuleVisitor * | visitor ) | [virtual] |
Visits the rule.
Reimplemented from deAnimatorRule.
1.7.2