#include <IUiAnimation.h>
Inherited by TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< IEventKey >, TUiAnimTrack< IBoolKey >, TUiAnimSplineTrack< ValueType >, TUiAnimTrack< KeyType >, and UiCompoundSplineTrack.
| Public Types | |
| enum | EUiAnimTrackFlags { eUiAnimTrackFlags_Linear = BIT(1) , eUiAnimTrackFlags_Loop = BIT(2) , eUiAnimTrackFlags_Cycle = BIT(3) , eUiAnimTrackFlags_Disabled = BIT(4) , eUiAnimTrackFlags_Hidden = BIT(5) , eUiAnimTrackFlags_Muted = BIT(8) } | 
| Flags that can be set on animation track.  More... | |
| Public Member Functions | |
| virtual void | add_ref ()=0 | 
| virtual void | release ()=0 | 
| virtual EUiAnimCurveType | GetCurveType ()=0 | 
| virtual EUiAnimValue | GetValueType ()=0 | 
| virtual ColorB | GetCustomColor () const =0 | 
| virtual void | SetCustomColor (ColorB color)=0 | 
| virtual bool | HasCustomColor () const =0 | 
| virtual void | ClearCustomColor ()=0 | 
| virtual const CUiAnimParamType & | GetParameterType () const =0 | 
| virtual void | SetParameterType (CUiAnimParamType type)=0 | 
| virtual const UiAnimParamData & | GetParamData () const =0 | 
| virtual void | SetParamData (const UiAnimParamData ¶m)=0 | 
| virtual int | GetSubTrackCount () const =0 | 
| virtual IUiAnimTrack * | GetSubTrack (int nIndex) const =0 | 
| virtual AZStd::string | GetSubTrackName (int nIndex) const =0 | 
| virtual void | SetSubTrackName (int nIndex, const char *name)=0 | 
| virtual void | GetKeyValueRange (float &fMin, float &fMax) const =0 | 
| virtual void | SetKeyValueRange (float fMin, float fMax)=0 | 
| virtual int | GetNumKeys () const =0 | 
| Return number of keys in track. | |
| virtual bool | HasKeys () const =0 | 
| Return true if keys exists in this track. | |
| virtual void | SetNumKeys (int numKeys)=0 | 
| virtual void | RemoveKey (int num)=0 | 
| Remove specified key. | |
| virtual void | GetKey (int index, IKey *key) const =0 | 
| virtual float | GetKeyTime (int index) const =0 | 
| virtual int | FindKey (float time)=0 | 
| virtual int | GetKeyFlags (int index)=0 | 
| virtual void | SetKey (int index, IKey *key)=0 | 
| virtual void | SetKeyTime (int index, float time)=0 | 
| Set time of specified key. | |
| virtual void | SetKeyFlags (int index, int flags)=0 | 
| Set flags of specified key. | |
| virtual void | SortKeys ()=0 | 
| Sort keys in track (after time of keys was modified). | |
| virtual int | GetFlags ()=0 | 
| Get track flags. | |
| virtual bool | IsMasked (const uint32 mask) const =0 | 
| Check if track is masked by mask. | |
| virtual void | SetFlags (int flags)=0 | 
| Set track flags. | |
| virtual int | CreateKey (float time)=0 | 
| virtual int | CloneKey (int key)=0 | 
| virtual int | CopyKey (IUiAnimTrack *pFromTrack, int nFromKey)=0 | 
| virtual void | GetKeyInfo (int key, const char *&description, float &duration)=0 | 
| virtual void | GetValue (float time, float &value)=0 | 
| virtual void | GetValue (float time, Vec3 &value)=0 | 
| virtual void | GetValue (float time, Vec4 &value)=0 | 
| virtual void | GetValue (float time, Quat &value)=0 | 
| virtual void | GetValue (float time, bool &value)=0 | 
| virtual void | GetValue (float time, AZ::Vector2 &value)=0 | 
| virtual void | GetValue (float time, AZ::Vector3 &value)=0 | 
| virtual void | GetValue (float time, AZ::Vector4 &value)=0 | 
| virtual void | GetValue (float time, AZ::Color &value)=0 | 
| virtual void | SetValue (float time, const float &value, bool bDefault=false)=0 | 
| virtual void | SetValue (float time, const Vec3 &value, bool bDefault=false)=0 | 
| virtual void | SetValue (float time, const Vec4 &value, bool bDefault=false)=0 | 
| virtual void | SetValue (float time, const Quat &value, bool bDefault=false)=0 | 
| virtual void | SetValue (float time, const bool &value, bool bDefault=false)=0 | 
| virtual void | SetValue (float time, const AZ::Vector2 &value, bool bDefault=false)=0 | 
| virtual void | SetValue (float time, const AZ::Vector3 &value, bool bDefault=false)=0 | 
| virtual void | SetValue (float time, const AZ::Vector4 &value, bool bDefault=false)=0 | 
| virtual void | SetValue (float time, const AZ::Color &value, bool bDefault=false)=0 | 
| virtual void | OffsetKeyPosition (const AZ::Vector3 &value)=0 | 
| virtual void | SetTimeRange (const Range &timeRange)=0 | 
| virtual bool | Serialize (IUiAnimationSystem *uiAnimationSystem, XmlNodeRef &xmlNode, bool bLoading, bool bLoadEmptyTracks=true)=0 | 
| virtual bool | SerializeSelection (XmlNodeRef &xmlNode, bool bLoading, bool bCopySelected=false, float fTimeOffset=0)=0 | 
| virtual void | InitPostLoad (IUiAnimSequence *) | 
| virtual void | Animate (SUiAnimContext &ec) | 
| For custom track animate parameters. | |
| virtual ISplineInterpolator * | GetSpline () const | 
| virtual bool | IsKeySelected (int key) const | 
| virtual void | SelectKey (int key, bool select) | 
| virtual int | NextKeyByTime (int key) const | 
| virtual int | GetAnimationLayerIndex () const | 
| Get the animation layer index assigned. (only for character/look-at tracks ATM) | |
| virtual void | SetAnimationLayerIndex (int index) | 
| Set the animation layer index. (only for character/look-at tracks ATM) | |
Interface of Animation Track.
Flags that can be set on animation track.
| 
 | pure virtual | 
Clone key at specified index. @retun Index of new key.
Implemented in TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, UiCompoundSplineTrack, TUiAnimSplineTrack< ValueType >, and TUiAnimSplineTrack< Vec2 >.
| 
 | pure virtual | 
Clone key at specified index from another track of SAME TYPE. @retun Index of new key.
Implemented in TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, and UiCompoundSplineTrack.
| 
 | pure virtual | 
Create key at given time, and return its index.
Implemented in TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, and UiCompoundSplineTrack.
| 
 | pure virtual | 
Find key at given time.
Implemented in TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, and UiCompoundSplineTrack.
| 
 | pure virtual | 
Get track flags.
Implemented in TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, and UiCompoundSplineTrack.
| 
 | pure virtual | 
Get key at specified location.
| key | Must be valid pointer to compatible key structure, to be filled with specified key location. | 
Implemented in TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, and UiCompoundSplineTrack.
| 
 | pure virtual | 
Get flags of specified key.
Implemented in TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, and UiCompoundSplineTrack.
| 
 | pure virtual | 
Get info about specified key.
| Short | human readable text description of this key. | 
| duration | of this key in seconds. | 
Implemented in UiBoolTrack, TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, UiCompoundSplineTrack, and CUiTrackEventTrack.
| 
 | pure virtual | 
Get time of specified key.
Implemented in TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, and UiCompoundSplineTrack.
| 
 | pure virtual | 
Return number of keys in track.
Implemented in TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, and UiCompoundSplineTrack.
| 
 | pure virtual | 
Return true if keys exists in this track.
Implemented in TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, and UiCompoundSplineTrack.
| 
 | pure virtual | 
Check if track is masked by mask.
Implemented in TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, and UiCompoundSplineTrack.
| 
 | inlinevirtual | 
Return the index of the key which lies right after the given key in time.
| key | Index of of key. | 
Reimplemented in UiCompoundSplineTrack.
| 
 | pure virtual | 
Remove specified key.
Implemented in TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, and UiCompoundSplineTrack.
| 
 | pure virtual | 
Implemented in TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, and TUiAnimTrack< IEventKey >.
| 
 | pure virtual | 
Set track flags.
Implemented in TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, and UiCompoundSplineTrack.
| 
 | pure virtual | 
Set key at specified location.
| key | Must be valid pointer to compatible key structure. | 
Implemented in TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, UiCompoundSplineTrack, and CUiTrackEventTrack.
| 
 | pure virtual | 
Set flags of specified key.
Implemented in TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, and UiCompoundSplineTrack.
| 
 | pure virtual | 
Set time of specified key.
Implemented in TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, and UiCompoundSplineTrack.
| 
 | pure virtual | 
Set number of keys in track. If needed adds empty keys at end or remove keys from end.
Implemented in TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, and UiCompoundSplineTrack.
| 
 | pure virtual | 
Implemented in TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, and TUiAnimTrack< IEventKey >.
| 
 | pure virtual | 
Sort keys in track (after time of keys was modified).
Implemented in TUiAnimSplineTrack< ValueType >, TUiAnimSplineTrack< Vec2 >, TUiAnimTrack< KeyType >, TUiAnimTrack< IBoolKey >, TUiAnimTrack< IEventKey >, and UiCompoundSplineTrack.