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.
CLayerNode Class Reference

Inherits CAnimNode.

Public Member Functions

 AZ_CLASS_ALLOCATOR (CLayerNode, AZ::SystemAllocator)
 
 AZ_RTTI (CLayerNode, "{C2E65C31-D469-4DE0-8F67-B5B00DE96E52}", CAnimNode)
 
 CLayerNode (const int id)
 
virtual void Animate (SAnimContext &ec)
 Overrides from CAnimNode.
 
virtual void CreateDefaultTracks ()
 
virtual void OnReset ()
 
virtual void Activate (bool bActivate)
 
virtual void Serialize (XmlNodeRef &xmlNode, bool bLoading, bool bLoadEmptyTracks)
 
virtual unsigned int GetParamCount () const
 Overrides from IAnimNode.
 
virtual CAnimParamType GetParamType (unsigned int nIndex) const
 
- Public Member Functions inherited from CAnimNode
 AZ_CLASS_ALLOCATOR (CAnimNode, AZ::SystemAllocator)
 
 AZ_RTTI (CAnimNode, "{57736B48-5EE7-4530-8051-657ACC9BA1EE}", IAnimNode)
 
 CAnimNode (const CAnimNode &other)
 
 CAnimNode (const int id, AnimNodeType nodeType)
 
AnimNodeType GetType () const override
 
void add_ref () override
 
void release () override
 
void SetName (const char *name) override
 
const char * GetName () const override
 
void SetSequence (IAnimSequence *sequence) override
 
IAnimSequence * GetSequence () const override
 
void SetAzEntityId ([[maybe_unused]] const AZ::EntityId &id) override
 
AZ::EntityId GetAzEntityId () const override
 
void SetFlags (int flags) override
 
int GetFlags () const override
 
bool AreFlagsSetOnNodeOrAnyParent (EAnimNodeFlags flagsToCheck) const override
 
IMovieSystem * GetMovieSystem () const override
 
virtual void OnStart ()
 
void OnReset () override
 
virtual void OnResetHard ()
 
virtual void OnPause ()
 
virtual void OnResume ()
 
virtual void OnStop ()
 
virtual void OnLoop ()
 
void SetPos ([[maybe_unused]] float time, [[maybe_unused]] const AZ::Vector3 &pos) override
 
void SetRotate ([[maybe_unused]] float time, [[maybe_unused]] const AZ::Quaternion &quat) override
 
void SetScale ([[maybe_unused]] float time, [[maybe_unused]] const AZ::Vector3 &scale) override
 
Vec3 GetPos () override
 
Quat GetRotate () override
 
Quat GetRotate (float) override
 
Vec3 GetScale () override
 
virtual Matrix34 GetReferenceMatrix () const
 
bool IsParamValid (const CAnimParamType &paramType) const override
 
AZStd::string GetParamName (const CAnimParamType &param) const override
 
AnimValueType GetParamValueType (const CAnimParamType &paramType) const override
 
IAnimNode::ESupportedParamFlags GetParamFlags (const CAnimParamType &paramType) const override
 
unsigned int GetParamCount () const override
 
bool SetParamValue (float time, CAnimParamType param, float val) override
 
bool SetParamValue (float time, CAnimParamType param, const Vec3 &val) override
 
bool SetParamValue (float time, CAnimParamType param, const Vec4 &val) override
 
bool GetParamValue (float time, CAnimParamType param, float &val) override
 
bool GetParamValue (float time, CAnimParamType param, Vec3 &val) override
 
bool GetParamValue (float time, CAnimParamType param, Vec4 &val) override
 
void SetTarget ([[maybe_unused]] IAnimNode *node)
 
IAnimNode * GetTarget () const
 
void StillUpdate () override
 
void Animate (SAnimContext &ec) override
 
virtual void PrecacheStatic ([[maybe_unused]] float startTime)
 
virtual void PrecacheDynamic ([[maybe_unused]] float time)
 
void Serialize (XmlNodeRef &xmlNode, bool bLoading, bool bLoadEmptyTracks) override
 
void InitPostLoad (IAnimSequence *sequence) override
 
void SetNodeOwner (IAnimNodeOwner *pOwner) override
 
IAnimNodeOwner * GetNodeOwner () override
 
void Activate (bool bActivate) override
 
void SetParent (IAnimNode *parent) override
 
IAnimNode * GetParent () const override
 
IAnimNode * HasDirectorAsParent () const override
 
int GetTrackCount () const override
 
IAnimTrack * GetTrackByIndex (int nIndex) const override
 
IAnimTrack * GetTrackForParameter (const CAnimParamType &paramType) const override
 
IAnimTrack * GetTrackForParameter (const CAnimParamType &paramType, uint32 index) const override
 
uint32 GetTrackParamIndex (const IAnimTrack *pTrack) const override
 
void SetTrack (const CAnimParamType &paramType, IAnimTrack *track) override
 
IAnimTrack * CreateTrack (const CAnimParamType &paramType) override
 
void InitializeTrackDefaultValue ([[maybe_unused]] IAnimTrack *pTrack, [[maybe_unused]] const CAnimParamType &paramType) override
 
void SetTimeRange (Range timeRange) override
 
void AddTrack (IAnimTrack *pTrack) override
 
bool RemoveTrack (IAnimTrack *pTrack) override
 
void CreateDefaultTracks () override
 
void SerializeAnims (XmlNodeRef &xmlNode, bool bLoading, bool bLoadEmptyTracks) override
 
virtual void PostLoad ()
 
int GetId () const override
 
void SetId (int id)
 
void Render () override
 
void UpdateDynamicParams () final
 
void TimeChanged (float newTime) override
 
void SetExpanded (bool expanded) override
 
bool GetExpanded () const override
 

Static Public Member Functions

static void Initialize ()
 
static void Reflect (AZ::ReflectContext *context)
 
- Static Public Member Functions inherited from CAnimNode
static void Reflect (AZ::ReflectContext *context)
 

Protected Member Functions

virtual bool GetParamInfoFromType (const CAnimParamType &paramId, SParamInfo &info) const
 
- Protected Member Functions inherited from CAnimNode
virtual bool GetParamInfoFromType ([[maybe_unused]] const CAnimParamType &paramType, [[maybe_unused]] SParamInfo &info) const
 
int NumTracks () const
 
void RegisterTrack (IAnimTrack *pTrack)
 
CMovieSystemGetCMovieSystem () const
 
bool NeedToRender () const override
 
virtual void ResetSounds ()
 
virtual void ApplyAudioKey ([[maybe_unused]] char const *const sTriggerName, [[maybe_unused]] bool const bPlay=true)
 
void AnimateSound (std::vector< SSoundInfo > &nodeSoundInfo, SAnimContext &ec, IAnimTrack *pTrack, size_t numAudioTracks)
 

Additional Inherited Members

- Public Types inherited from CAnimNode
typedef AZStd::vector< AZStd::intrusive_ptr< IAnimTrack > > AnimTracks
 
- Protected Attributes inherited from CAnimNode
AnimTracks m_tracks
 
AnimNodeType m_nodeType
 
AZStd::string m_name
 
IAnimSequence * m_pSequence
 
IAnimNodeOwner * m_pOwner
 
IAnimNode * m_pParentNode
 
int m_refCount
 
int m_id
 
int m_nLoadedParentNodeId
 
int m_parentNodeId
 
int m_flags
 
unsigned int m_bIgnoreSetParam: 1
 
bool m_expanded
 

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