Animator Group Rule. More...
#include <deAnimatorRuleGroup.h>
Public Member Functions | |
Constructors and Destructors | |
| deAnimatorRuleGroup () | |
| Creates a new animator rule. | |
| virtual | ~deAnimatorRuleGroup () |
| Cleans up the animator rule. | |
Management | |
| int | GetRuleCount () const |
| Retrieves the number of rules. | |
| deAnimatorRule * | GetRuleAt (int index) const |
| Retrieves the rule at the given index. | |
| int | IndexOfRule (deAnimatorRule *rule) const |
| Retrieves the index of the given rule or -1 if not found. | |
| bool | HasRule (deAnimatorRule *rule) const |
| Determines if the given rule exists. | |
| void | AddRule (deAnimatorRule *rule) |
| Adds a rule. | |
| void | RemoveRule (deAnimatorRule *rule) |
| Removes the given rule. | |
| void | RemoveAllRules () |
| Removes all rules. | |
Visiting | |
| virtual void | Visit (deAnimatorRuleVisitor *visitor) |
| Visits the rule. | |
Animator Group Rule.
The group rule stores a list of rules and applies them in order like the animator itself but does not apply the individual rules to the intermediate bone states but the result of the entire group of rules. Usefule to compose a state using various rules and to apply them as a whole.
| deAnimatorRuleGroup::deAnimatorRuleGroup | ( | ) |
Creates a new animator rule.
| virtual deAnimatorRuleGroup::~deAnimatorRuleGroup | ( | ) | [virtual] |
Cleans up the animator rule.
| void deAnimatorRuleGroup::AddRule | ( | deAnimatorRule * | rule ) |
Adds a rule.
| deAnimatorRule* deAnimatorRuleGroup::GetRuleAt | ( | int | index ) | const |
Retrieves the rule at the given index.
| int deAnimatorRuleGroup::GetRuleCount | ( | ) | const [inline] |
Retrieves the number of rules.
| bool deAnimatorRuleGroup::HasRule | ( | deAnimatorRule * | rule ) | const |
Determines if the given rule exists.
| int deAnimatorRuleGroup::IndexOfRule | ( | deAnimatorRule * | rule ) | const |
Retrieves the index of the given rule or -1 if not found.
| void deAnimatorRuleGroup::RemoveAllRules | ( | ) |
Removes all rules.
| void deAnimatorRuleGroup::RemoveRule | ( | deAnimatorRule * | rule ) |
Removes the given rule.
| virtual void deAnimatorRuleGroup::Visit | ( | deAnimatorRuleVisitor * | visitor ) | [virtual] |
Visits the rule.
Reimplemented from deAnimatorRule.
1.7.2