4D Damped spring position interface.
Public Member Functions | |
| virtual void | SetIdealPosition (const sVec4f &avPos)=0 |
| Set the ideal (target) position of the spring. {Property}. More... | |
| virtual sVec4f | GetIdealPosition () const =0 |
| Get the ideal (target) position of the spring. {Property}. More... | |
| virtual void | SetCurrentPosition (const sVec4f &avPos)=0 |
| Set the current position of the spring. {Property}. More... | |
| virtual sVec4f | GetCurrentPosition () const =0 |
| Get the current position of the spring. {Property}. More... | |
| virtual sVec4f | UpdatePosition (ni::tF32 afDeltaTime)=0 |
| Update the current position of the spring. More... | |
| virtual void | SetStep (tF32 afD)=0 |
| Set the maximum update step size. {Property}. More... | |
| virtual tF32 | GetStep () const =0 |
| Get the maximum update step size. {Property}. More... | |
| virtual void | SetSpeed (tF32 afD)=0 |
| Set the animation speed. {Property}. More... | |
| virtual tF32 | GetSpeed () const =0 |
| Get the animation speed. {Property}. More... | |
| virtual void | SetEndThreshold (tF32 afD)=0 |
| Set the end threshold. {Property}. More... | |
| virtual tF32 | GetEndThreshold () const =0 |
| Get the end threshold. {Property}. More... | |
| virtual tBool | GetIsEnded () const =0 |
| Get the whether the distance between the ideal and the current positions are below the end threshold. {Property}. More... | |
Public Member Functions inherited from iDampedSpring4 | |
| virtual void | SetKd (tF32 afD)=0 |
| Set the Kd constant. {Property}. More... | |
| virtual tF32 | GetKd () const =0 |
| Get the Kd constant. {Property}. More... | |
| virtual void | SetKs (tF32 afD)=0 |
| Set the Ks constant. {Property}. More... | |
| virtual tF32 | GetKs () const =0 |
| Get the Ks constant. {Property}. More... | |
| virtual void | SetStiffnessAndDampingRatio (tF32 afKs, tF32 afE)=0 |
| Set the value of Kd for the specified Ks that will result in a spring with the specified damping ratio. More... | |
| virtual void | SetDampingRatio (tF32 afE)=0 |
| Set the spring's damping ratio. {Property}. More... | |
| virtual tF32 | GetDampingRatio () const =0 |
| Get the spring's damping ratio. {Property}. More... | |
| virtual void | SetVelocity (const sVec4f &avVel)=0 |
| Set the spring's velocity. {Property}. More... | |
| virtual sVec4f | GetVelocity () const =0 |
| Get the spring's velocity. {Property}. More... | |
| virtual sVec4f | ComputeAcceleration (const sVec4f &avD)=0 |
| Compute the spring's acceleration for the specified displacement. More... | |
| virtual void | UpdateVelocity (ni::tF32 afDeltaTime, const sVec4f &avD)=0 |
| Update the spring's velocity from the specified displacement. More... | |
| virtual void | UpdateVelocityWithAcceleration (ni::tF32 afDeltaTime, const sVec4f &avAcc)=0 |
| Update the spring's velocity from the specified acceleration. More... | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
Set the ideal (target) position of the spring. {Property}.
|
pure virtual |
Get the ideal (target) position of the spring. {Property}.
Set the current position of the spring. {Property}.
|
pure virtual |
Get the current position of the spring. {Property}.
Update the current position of the spring.
Set the maximum update step size. {Property}.
|
pure virtual |
Get the maximum update step size. {Property}.
Set the animation speed. {Property}.
|
pure virtual |
Get the animation speed. {Property}.
Set the end threshold. {Property}.
|
pure virtual |
Get the end threshold. {Property}.
|
pure virtual |
Get the whether the distance between the ideal and the current positions are below the end threshold. {Property}.
1.8.7