Open 3D Engine Maestro Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
CCompoundSplineTrack Class Reference

Inherits IAnimTrack.

Public Member Functions

 AZ_CLASS_ALLOCATOR (CCompoundSplineTrack, AZ::SystemAllocator)
 
 AZ_RTTI (CCompoundSplineTrack, "{E6B88EF4-6DB7-48E7-9758-DF6C9E40D4D2}", IAnimTrack)
 
 CCompoundSplineTrack (int nDims, AnimValueType inValueType, CAnimParamType subTrackParamTypes[MAX_SUBTRACKS], bool expanded)
 
void add_ref () override
 
void release () override
 
void SetNode (IAnimNode *node) override
 
IAnimNode * GetNode () override
 
int GetSubTrackCount () const override
 
IAnimTrack * GetSubTrack (int nIndex) const override
 
AZStd::string GetSubTrackName (int nIndex) const override
 
void SetSubTrackName (int nIndex, const char *name) override
 
EAnimCurveType GetCurveType () override
 
AnimValueType GetValueType () override
 
const CAnimParamType & GetParameterType () const override
 
void SetParameterType (CAnimParamType type) override
 
int GetNumKeys () const override
 
void SetNumKeys (int numKeys) override
 
bool HasKeys () const override
 
void RemoveKey (int num) override
 
void GetKeyInfo (int key, const char *&description, float &duration) override
 
int CreateKey (float time) override
 
int CloneKey (int fromKey) override
 
int CopyKey (IAnimTrack *pFromTrack, int nFromKey) override
 
void GetKey (int index, IKey *key) const override
 
float GetKeyTime (int index) const override
 
int FindKey (float time) override
 
int GetKeyFlags (int index) override
 
void SetKey (int index, IKey *key) override
 
void SetKeyTime (int index, float time) override
 
void SetKeyFlags (int index, int flags) override
 
void SortKeys () override
 
bool IsKeySelected (int key) const override
 
void SelectKey (int key, bool select) override
 
int GetFlags () override
 
bool IsMasked (const uint32 mask) const override
 
void SetFlags (int flags) override
 
void GetValue (float time, float &value, bool applyMultiplier=false) override
 
void GetValue (float time, Vec3 &value, bool applyMultiplier=false) override
 
void GetValue (float time, Vec4 &value, bool applyMultiplier=false) override
 
void GetValue (float time, Quat &value) override
 
void GetValue (float time, bool &value) override
 
void GetValue (float time, Maestro::AssetBlends< AZ::Data::AssetData > &value) override
 
void SetValue (float time, const float &value, bool bDefault=false, bool applyMultiplier=false) override
 
void SetValue (float time, const Vec3 &value, bool bDefault=false, bool applyMultiplier=false) override
 
void SetValue (float time, const Vec4 &value, bool bDefault=false, bool applyMultiplier=false) override
 
void SetValue (float time, const Quat &value, bool bDefault=false) override
 
void SetValue (float time, const bool &value, bool bDefault=false) override
 
void SetValue (float time, const Maestro::AssetBlends< AZ::Data::AssetData > &value, bool bDefault=false) override
 
void OffsetKeyPosition (const Vec3 &value) override
 
void UpdateKeyDataAfterParentChanged (const AZ::Transform &oldParentWorldTM, const AZ::Transform &newParentWorldTM) override
 
void SetTimeRange (const Range &timeRange) override
 
bool Serialize (XmlNodeRef &xmlNode, bool bLoading, bool bLoadEmptyTracks=true) override
 
bool SerializeSelection (XmlNodeRef &xmlNode, bool bLoading, bool bCopySelected=false, float fTimeOffset=0) override
 
int NextKeyByTime (int key) const override
 
void SetSubTrackName (const int i, const AZStd::string &name)
 
void GetKeyValueRange (float &fMin, float &fMax) const override
 
void SetKeyValueRange (float fMin, float fMax) override
 
void SetMultiplier (float trackMultiplier) override
 
void SetExpanded (bool expanded) override
 
bool GetExpanded () const override
 
unsigned int GetId () const override
 
void SetId (unsigned int id) override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Protected Member Functions

float PreferShortestRotPath (float degree, float degree0) const
 
int GetSubTrackIndex (int &key) const
 

Protected Attributes

int m_refCount
 
AnimValueType m_valueType
 
int m_nDimensions
 
AZStd::vector< AZStd::intrusive_ptr< IAnimTrack > > m_subTracks
 
int m_flags
 
CAnimParamType m_nParamType
 
AZStd::vector< AZStd::string > m_subTrackNames
 
IAnimNode * m_node
 
bool m_expanded
 
unsigned int m_id = 0
 

The documentation for this class was generated from the following file: