![]() |
VR-Forces Developer's Guide
|
The DtDiGuyAnimation class is a class that stores the DI-Guy animation information that is used to ensure the animation being displayed is in synch with the simulated entity.
Further notes: Contains information about about a particular DI-Guy animation (e.g. run, walk). Most of this data is received directly from the DI-Guy instance (as wrapped by VR-Vantage). Further information can be found in rwDIGuyAnimationEntry, which receives data from character_animations_table.mtl
Public Member Functions | |
| DtDiGuyAnimation () | |
| DtDiGuyAnimation (const DtString &name) | |
| DtDiGuyAnimation (const DtDiGuyAnimation &orig) | |
| virtual | ~DtDiGuyAnimation () |
| DtDiGuyAnimation & | operator= (const DtDiGuyAnimation &orig) |
| virtual void | setPosture (const DtString &post) |
| virtual const DtString & | posture () const |
| virtual DtDiGuyAnimation * | clone () const |
| virtual void | print () |
| virtual void | setAnimationName (const DtString &name) |
| virtual const DtString & | animationName () const |
| virtual void | setDisplayName (const DtString &name) |
| virtual const DtString & | displayName () const |
| virtual void | setDuration (const double time) |
| virtual const double | duration () const |
| virtual void | setSpeed (const double speed) |
| virtual const double | speed () const |
| virtual void | setDirectionChange (const DtString &direction) |
| virtual const DtString & | directionChange () const |
| virtual void | addVariant (const DtString &var) |
| virtual bool | haveVariant (const DtString &var) const |
| virtual const std::set < DtString > & | variants () const |
| virtual void | setTaskableOrIntrinsic (DtDIGuyTaskableOrIntrinisic value) |
| virtual DtDIGuyTaskableOrIntrinisic | taskableOrInstrinsic () const |
| void | addCompatibleActionName (const DtString &actionName) |
| virtual bool | haveCompatibleAction (const DtString &actionName) const |
| virtual const std::set < DtString > & | compatibleActions () const |
Protected Attributes | |
Detailed animation info. | |
| DtReal | myAnimationDuration |
| DtReal | myAnimationSpeed |
| DtString | myAnimationPosture |
| DtString | myAnimationDirectionChange |
Basic animation info. | |
| typedef std::set< DtString > | CompatibleActionNamesSet |
| DtString | myAnimationName |
| DtString | myDisplayName |
| std::set< DtString > | myAnimationVariants |
| DtDIGuyTaskableOrIntrinisic | myTaskableOrIntrinsic |
| CompatibleActionNamesSet | myCompatibleActionNames |
|
protected |
| DtDiGuyAnimation::DtDiGuyAnimation | ( | ) |
| DtDiGuyAnimation::DtDiGuyAnimation | ( | const DtString & | name | ) |
| DtDiGuyAnimation::DtDiGuyAnimation | ( | const DtDiGuyAnimation & | orig | ) |
|
virtual |
| DtDiGuyAnimation& DtDiGuyAnimation::operator= | ( | const DtDiGuyAnimation & | orig | ) |
|
virtual |
The name of the Di-guy Animation.
|
virtual |
The name of the Di-guy Animation.
|
virtual |
The name of the animation used for display–more user friendly and editable.
|
virtual |
The name of the animation used for display–more user friendly and editable.
|
virtual |
The duration of the animation.
|
virtual |
The duration of the animation.
|
virtual |
The speed of the animation if any.
|
virtual |
The speed of the animation if any.
|
virtual |
The ending posture of the animation.
|
virtual |
|
virtual |
The change in direction due to the animation if any.
|
virtual |
The change in direction due to the animation if any.
|
virtual |
The demeanor of the animation–refered to as variant in the character digest–sick, angry, confused, normal...
The demeanor of the animation–refered to as variant in the character digest–sick, angry, confused, normal...
|
virtual |
The demeanor of the animation–refered to as variant in the character digest–sick, angry, confused, normal...
|
virtual |
Instrinsic animations are chosen automatically, e.g. when character is walking. Taskable animations must be assigned by user.
|
virtual |
Instrinsic animations are chosen automatically, e.g. when character is walking. Taskable animations must be assigned by user.
| void DtDiGuyAnimation::addCompatibleActionName | ( | const DtString & | actionName | ) |
Compatible legacy action names that should also be used to refer to this action.
Compatible legacy action names that should also be used to refer to this action.
|
virtual |
Compatible legacy action names that should also be used to refer to this action.
|
virtual |
Returns a newly created clone of this class.
|
virtual |
Just prints out the contents to the console.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |