Animation Keys Set interface.
Public Member Functions | |
| virtual iAnimationKeysSet * | Clone () const =0 |
| Clone this animation keys set. More... | |
| virtual void | SetName (iHString *ahspName)=0 |
| Set the name of the animation keys set. {Property}. More... | |
| virtual iHString * | GetName () const =0 |
| Get the name of the animation keys set. {Property}. More... | |
| virtual eAnimationKeysType | GetType () const =0 |
| Get the keys type. {Property}. More... | |
| virtual void | SetInterpolationType (eAnimationKeysInterpolationType aInterpolationType)=0 |
| Set the interpolation keys type. {Property}. More... | |
| virtual eAnimationKeysInterpolationType | GetInterpolationType () const =0 |
| Get the interpolation keys type. {Property}. More... | |
| virtual void | ReserveKeys (tU32 aulNumKeys)=0 |
| Reserve the memory for the specified number of key. More... | |
| virtual tBool | RemoveKey (tU32 aulIdx)=0 |
| Remove the key at the specified index. More... | |
| virtual tU32 | GetNumKeys () const =0 |
| Get the number of keys. {Property}. More... | |
| virtual tF32 | GetKeyTime (tU32 aulIdx) const =0 |
| Get the time of the key at the given index. More... | |
| virtual tBool | SetKeyTime (tU32 aulIdx, tF32 afTime)=0 |
| Set the time of the key at the given index. {Property}. More... | |
| virtual tU32 | GetKeyIndex (tF32 afTime) const =0 |
| Get the index of the key that has the specified time. {Property}. More... | |
| virtual void | ScaleTime (tF32 afScale)=0 |
| Scale the time values of all keys. More... | |
| virtual void | OffsetTime (tF32 afOffset)=0 |
| Offset the time values of all keys. More... | |
| virtual void | SortKeys ()=0 |
| Sort the keys by time value. More... | |
| virtual tBool | AddKey (tPtr apValue, tF32 fTime)=0 |
| Add a key. More... | |
| virtual tBool | GetKeyValue (tU32 aulIdx, tPtr apOut) const =0 |
| Get the key value at the given index. More... | |
| virtual tPtr | GetKeyValuePtr (tU32 aulIdx) const =0 |
| Get a pointer to the value at the specified index. More... | |
| virtual tBool | GetTimeValue (tF32 afTime, tPtr apOut) const =0 |
| Get the value of the key at the specified time. More... | |
| virtual tBool | ApplyParent (tPtr apOut, const tPtr apValue, const tPtr apParentValue) const =0 |
| Apply a parent value to the given value. More... | |
| virtual tBool | AddFloatKey (tF32 aV, tF32 fTime)=0 |
| Add a float key. More... | |
| virtual tF32 | GetFloatKeyValue (tU32 aulIdx) const =0 |
| Get the float key value at the given index. {Property}. More... | |
| virtual tF32 | GetFloatTimeValue (tF32 fTime) const =0 |
| Get the float value of the key at the specified time. {Property}. More... | |
| virtual tF32 | ApplyFloatParent (tF32 aV, tF32 aParent) const =0 |
| Apply a float parent value to the given float value. More... | |
| virtual tBool | AddEulerAngleKey (tF32 aV, tF32 fTime)=0 |
| Add a euler angle key. More... | |
| virtual tF32 | GetEulerAngleKeyValue (tU32 aulIdx) const =0 |
| Get the euler angle key value at the given index. {Property}. More... | |
| virtual tF32 | GetEulerAngleTimeValue (tF32 fTime) const =0 |
| Get the euler angle value of the key at the specified time. {Property}. More... | |
| virtual tF32 | ApplyEulerAngleParent (tF32 aV, tF32 aParent) const =0 |
| Apply a euler angle parent value to the given euler angle value. More... | |
| virtual tBool | AddVec2Key (const sVec2f &aV, tF32 fTime)=0 |
| Add a vector2 key. More... | |
| virtual sVec2f | GetVec2KeyValue (tU32 aulIdx) const =0 |
| Get the vector2 key value at the given index. {Property}. More... | |
| virtual sVec2f | GetVec2TimeValue (tF32 fTime) const =0 |
| Get the vector2 value of the key at the specified time. {Property}. More... | |
| virtual sVec2f | ApplyVec2Parent (const sVec2f &aV, const sVec2f &aParent) const =0 |
| Apply a vector2 parent value to the given vector2 value. More... | |
| virtual tBool | AddVec3Key (const sVec3f &aV, tF32 fTime)=0 |
| Add a vector3 key. More... | |
| virtual sVec3f | GetVec3KeyValue (tU32 aulIdx) const =0 |
| Get the vector3 key value at the given index. {Property}. More... | |
| virtual sVec3f | GetVec3TimeValue (tF32 fTime) const =0 |
| Get the vector3 value of the key at the specified time. {Property}. More... | |
| virtual sVec3f | ApplyVec3Parent (const sVec3f &aV, const sVec3f &aParent) const =0 |
| Apply a vector3 parent value to the given vector3 value. More... | |
| virtual tBool | AddVec4Key (const sVec4f &aV, tF32 fTime)=0 |
| Add a vector4 key. More... | |
| virtual sVec4f | GetVec4KeyValue (tU32 aulIdx) const =0 |
| Get the vector4 key value at the given index. {Property}. More... | |
| virtual sVec4f | GetVec4TimeValue (tF32 fTime) const =0 |
| Get the vector4 value of the key at the specified time. {Property}. More... | |
| virtual sVec4f | ApplyVec4Parent (const sVec4f &aV, const sVec4f &aParent) const =0 |
| Apply a vector4 parent value to the given vector4 value. More... | |
| virtual tBool | AddMatrixKey (const sMatrixf &aV, tF32 fTime)=0 |
| Add a matrix key. More... | |
| virtual sMatrixf | GetMatrixKeyValue (tU32 aulIdx) const =0 |
| Get the matrix key value at the given index. {Property}. More... | |
| virtual sMatrixf | GetMatrixTimeValue (tF32 fTime) const =0 |
| Get the matrix value of the key at the specified time. {Property}. More... | |
| virtual sMatrixf | ApplyMatrixParent (const sMatrixf &aV, const sMatrixf &aParent) const =0 |
| Apply a matrix parent value to the given matrix value. More... | |
| virtual tBool | AddQuatKey (const sQuatf &aV, tF32 fTime)=0 |
| Add a quaterion key. More... | |
| virtual sQuatf | GetQuatKeyValue (tU32 aulIdx) const =0 |
| Get the quaterion key value at the given index. {Property}. More... | |
| virtual sQuatf | GetQuatTimeValue (tF32 fTime) const =0 |
| Get the quaterion value of the key at the specified time. {Property}. More... | |
| virtual sQuatf | ApplyQuatParent (const sQuatf &aV, const sQuatf &aParent) const =0 |
| Apply a quaterion parent value to the given quaterion value. More... | |
| virtual tBool | SerializeDataTable (iDataTable *apDT, tSerializeFlags aFlags)=0 |
| Serialize the key set to/from the specified datatalbe. More... | |
| virtual tBool | SerializeKey (iDataTable *apDT, tU32 anKey, tSerializeFlags aFlags)=0 |
| Serialize the specified key. More... | |
| virtual void | SetKeyValueMetadata (iHString *ahspMetaData)=0 |
| Set the key value's metadata when serialized with the eSerializeFlags_TypeInfoMetadata flag. {Property}. More... | |
| virtual iHString * | GetKeyValueMetadata () const =0 |
| Get the key value's metadata when serialized with the eSerializeFlags_TypeInfoMetadata flag. {Property}. 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... | |
|
pure virtual |
Clone this animation keys set.
Set the name of the animation keys set. {Property}.
|
pure virtual |
Get the name of the animation keys set. {Property}.
|
pure virtual |
Get the keys type. {Property}.
|
pure virtual |
Set the interpolation keys type. {Property}.
|
pure virtual |
Get the interpolation keys type. {Property}.
Reserve the memory for the specified number of key.
Remove the key at the specified index.
| aulIdx | is the index of the key to remove. |
|
pure virtual |
Get the number of keys. {Property}.
Get the time of the key at the given index.
| aulIdx | is the index of the key to get. |
Set the time of the key at the given index. {Property}.
Get the index of the key that has the specified time. {Property}.
|
pure virtual |
Sort the keys by time value.
Add a key.
| apValue | is the value of the key to add. |
| fTime | is the time of the new key. |
Get the key value at the given index.
| aulIdx | is the index of the key to get. |
| apOut | is where to output the value. |
Get a pointer to the value at the specified index.
| aulIdx | is the index of the key to get. |
Get the value of the key at the specified time.
| afTime | is the time at which we want to get the value. |
| apOut | is where the interpolated key will be stored. |
|
pure virtual |
Apply a parent value to the given value.
| apOut | is where the result will be copied, it can be the same as apValue. |
| apValue | is the value on which we want to apply the parent. |
| apParentValue | is the parent value to apply. |
Get the float key value at the given index. {Property}.
Get the float value of the key at the specified time. {Property}.
Apply a float parent value to the given float value.
Get the euler angle key value at the given index. {Property}.
Get the euler angle value of the key at the specified time. {Property}.
Apply a euler angle parent value to the given euler angle value.
Get the vector2 key value at the given index. {Property}.
Get the vector2 value of the key at the specified time. {Property}.
Apply a vector2 parent value to the given vector2 value.
Get the vector3 key value at the given index. {Property}.
Get the vector3 value of the key at the specified time. {Property}.
Apply a vector3 parent value to the given vector3 value.
Get the vector4 key value at the given index. {Property}.
Get the vector4 value of the key at the specified time. {Property}.
Apply a vector4 parent value to the given vector4 value.
Get the matrix key value at the given index. {Property}.
Get the matrix value of the key at the specified time. {Property}.
|
pure virtual |
Apply a matrix parent value to the given matrix value.
Get the quaterion key value at the given index. {Property}.
Get the quaterion value of the key at the specified time. {Property}.
Apply a quaterion parent value to the given quaterion value.
|
pure virtual |
Serialize the key set to/from the specified datatalbe.
|
pure virtual |
Serialize the specified key.
Set the key value's metadata when serialized with the eSerializeFlags_TypeInfoMetadata flag. {Property}.
|
pure virtual |
Get the key value's metadata when serialized with the eSerializeFlags_TypeInfoMetadata flag. {Property}.
1.8.7