Open 3D Engine Maestro Gem API Reference  24.09
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 ([[maybe_unused]] int numKeys) override
 
bool HasKeys () const override
 
void RemoveKey (int num) override
 
void GetKeyInfo (int key, const char *&description, float &duration) override
 
int CreateKey ([[maybe_unused]] float time) override
 
int CloneKey ([[maybe_unused]] int fromKey) override
 
int CopyKey ([[maybe_unused]] IAnimTrack *pFromTrack, [[maybe_unused]] int nFromKey) override
 
void GetKey ([[maybe_unused]] int index, [[maybe_unused]] IKey *key) const override
 
float GetKeyTime (int index) const override
 
int FindKey ([[maybe_unused]] float time) override
 
int GetKeyFlags ([[maybe_unused]] int index) override
 
void SetKey ([[maybe_unused]] int index, [[maybe_unused]] IKey *key) override
 
void SetKeyTime (int index, float time) override
 
void SetKeyFlags ([[maybe_unused]] int index, [[maybe_unused]] int flags) override
 
void SortKeys () override
 
bool IsKeySelected (int key) const override
 
void SelectKey (int key, bool select) override
 
int GetFlags () override
 
bool IsMasked ([[maybe_unused]] 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 ([[maybe_unused]] float time, [[maybe_unused]] bool &value) override
 
void GetValue ([[maybe_unused]] float time, [[maybe_unused]] 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 ([[maybe_unused]] float time, [[maybe_unused]] const bool &value, [[maybe_unused]] bool bDefault=false) override
 
void SetValue ([[maybe_unused]] float time, [[maybe_unused]] const Maestro::AssetBlends< AZ::Data::AssetData > &value, [[maybe_unused]] bool bDefault=false) override
 
void OffsetKeyPosition (const AZ::Vector3 &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: