Retarget Animation Rule Class. More...
#include <deAnimatorRuleRetarget.h>
Public Member Functions | |
Constructors and Destructors | |
| deAnimatorRuleRetarget () | |
| Creates a new animator rule. | |
| virtual | ~deAnimatorRuleRetarget () |
| Cleans up the animator rule. | |
Management | |
| deRig * | GetSourceRig () const |
| Retrieves the source rig or NULL if not set. | |
| void | SetSourceRig (deRig *rig) |
| Sets the source rig or NULL if not set. | |
| deRig * | GetDestinationRig () const |
| Retrieves the destination rig or NULL to use the rig from the attached component. | |
| void | SetDestinationRig (deRig *rig) |
| Sets the destination rig or NULL to use the rig from the attached component. | |
Visiting | |
| virtual void | Visit (deAnimatorRuleVisitor *visitor) |
| Visits the rule. | |
Retarget Animation Rule Class.
Adjusts the existing animation to match a different rig. For this a source and destination rig as well as a list of bone matchings have to be provided. The source rig defines the structure of the existing animation data. The destination rig defines the structure to match the animation to. The destination rig can be NULL in which case the rig from the attached component is used. The bone matching list defines pairs of bone names assigning bones from the existing animation to a new bone. Bones without such a matching are assumed to stay the same but with different rest poses.
| deAnimatorRuleRetarget::deAnimatorRuleRetarget | ( | ) |
Creates a new animator rule.
| virtual deAnimatorRuleRetarget::~deAnimatorRuleRetarget | ( | ) | [virtual] |
Cleans up the animator rule.
| deRig* deAnimatorRuleRetarget::GetDestinationRig | ( | ) | const [inline] |
Retrieves the destination rig or NULL to use the rig from the attached component.
| deRig* deAnimatorRuleRetarget::GetSourceRig | ( | ) | const [inline] |
Retrieves the source rig or NULL if not set.
| void deAnimatorRuleRetarget::SetDestinationRig | ( | deRig * | rig ) |
Sets the destination rig or NULL to use the rig from the attached component.
| void deAnimatorRuleRetarget::SetSourceRig | ( | deRig * | rig ) |
Sets the source rig or NULL if not set.
| virtual void deAnimatorRuleRetarget::Visit | ( | deAnimatorRuleVisitor * | visitor ) | [virtual] |
Visits the rule.
Reimplemented from deAnimatorRule.
1.7.2