#include <Interfaces.h>
Inherits DigitalSpaces::DIObjectBase.
Public Member Functions | |
| void | Dump () const |
| Temporary function. | |
| void | AttatchEntityToBone (const char *boneName, DI3DVisualsEntity1 *pEntity, in_Quaternionf *quatOffset, in_Vector3f *vecOffset) |
| void | DetatchEntityFromBone (const char *objectName) |
| void | AttatchToSceneNode (const char *nodeName) |
| const char * | GetName () |
| void | SetFloatingText (const char *) |
Animation Control | |
| void | PlayAnimation (const char *sAnimationName, double dSpeed=1.0) |
| void | PlayAnimationTarget (const char *sAnimationName, double dTarget) |
| void | StopAnimation (const char *sAnimationName) |
| void | SetAnimationApplied (const char *sAnimationName, bool bEnabled=true) |
| Applies the animation, but does not advance it. | |
| void | SetAnimationLoop (const char *sAnimationName, bool bLoop) |
| Loops the animation (true by default). | |
| void | SetAnimationWeight (const char *sAnimationName, double dWeight) |
| Set animation weight. This is as relative to total weights. | |
| void | SetAnimationWeightChange (const char *sAnimationName, double dWeightChange) |
| void | SetAnimationWeightChangeTarget (const char *sAnimationName, double dWeightTarget) |
| void | SetAnimationTimePosition (const char *sAnimationName, double dTime) |
| void | GetAllAnimations (DIStringList1 *iList) const |
| float | GetAnimationLength (const char *sName) |
Position Control | |
| void | GetRelativePosition (out_Vector3f *) const |
| This is its position relative to its parent. | |
| void | GetAbsolutePosition (out_Vector3f *) const |
| This is its position in absolute terms. | |
| void | Move (in_Vector3f *vecMovement) |
| This moves the entity. (In Parent space? Scale, rotation?). | |
| void | SetRelativePosition (in_Vector3f *vecPosition) |
| void | SetVelocity (in_Vector3f *vecVelocity) |
| void | GetVelocity (out_Vector3f *pVelocity) |
| void | SetVelocityTarget (in_Vector3f *vecVelocity) |
| Position to stop at when the current velocity puts you there. | |
Orientation Control | |
| void | GetOrientation (out_Quaternionf *pOrientation) const |
| void | SetOrientation (in_Quaternionf *quatRot) |
| void | SetOrientation (const float &X, const float &Y, const float &Z) |
| void | Rotate (in_Quaternionf *quatRot) |
| void | Rotate (const float &X, const float &Y, const float &Z) |
| void | SetSlerp (const float &fTimeMultiplier, in_Quaternionf *fSrcQuat, in_Quaternionf *fDestQuat) |
1.5.6