deAnimatorRuleAnimationDifference Class Reference

Animator Animation Difference Rule Class. More...

#include <deAnimatorRuleAnimationDifference.h>

Inheritance diagram for deAnimatorRuleAnimationDifference:
deAnimatorRule

List of all members.

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.
deAnimatorControllerTargetGetTargetLeadingMoveTime ()
 Retrieves the leading move time target.
deAnimatorControllerTargetGetTargetReferenceMoveTime ()
 Retrieves the reference move time target.
Visiting
virtual void Visit (deAnimatorRuleVisitor *visitor)
 Visits the rule.

Detailed Description

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.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

deAnimatorRuleAnimationDifference::deAnimatorRuleAnimationDifference (  )

Creates a new animator rule.

virtual deAnimatorRuleAnimationDifference::~deAnimatorRuleAnimationDifference (  ) [virtual]

Cleans up the animator rule.


Member Function Documentation

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.


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