Open 3D Engine LyShine 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.
CUiAnimEventNode Class Reference

Inherits CUiAnimNode.

Public Member Functions

 AZ_CLASS_ALLOCATOR (CUiAnimEventNode, AZ::SystemAllocator)
 
 AZ_RTTI (CUiAnimEventNode, "{51C82937-293D-4E20-8966-5288D1580615}", CUiAnimNode)
 
 CUiAnimEventNode (const int id)
 
virtual void Animate (SUiAnimContext &ec)
 Evaluate animation to the given time.
 
virtual void CreateDefaultTracks ()
 
virtual void OnReset ()
 
virtual unsigned int GetParamCount () const
 
virtual CUiAnimParamType GetParamType (unsigned int nIndex) const
 
virtual bool GetParamInfoFromType (const CUiAnimParamType &paramId, SParamInfo &info) const
 
- Public Member Functions inherited from CUiAnimNode
 AZ_RTTI (CUiAnimNode, "{1ECF3B73-FCED-464D-82E8-CFAF31BB63DC}", IUiAnimNode)
 
 CUiAnimNode (const CUiAnimNode &other)
 
 CUiAnimNode (const int id, EUiAnimNodeType nodeType)
 
EUiAnimNodeType GetType () const override
 
void add_ref () override
 
void release () override
 
void SetName (const char *name) override
 Set node name.
 
AZStd::string GetName () override
 Get node name.
 
void SetSequence (IUiAnimSequence *pSequence) override
 
IUiAnimSequenceGetSequence () const override
 
void SetFlags (int flags) override
 
int GetFlags () const override
 
IUiAnimationSystemGetUiAnimationSystem () const override
 
virtual void OnStart ()
 
void OnReset () override
 
virtual void OnResetHard ()
 
virtual void OnPause ()
 
virtual void OnResume ()
 
virtual void OnStop ()
 
virtual void OnLoop ()
 
virtual Matrix34 GetReferenceMatrix () const
 
bool IsParamValid (const CUiAnimParamType &paramType) const override
 
AZStd::string GetParamName (const CUiAnimParamType &param) const override
 
EUiAnimValue GetParamValueType (const CUiAnimParamType &paramType) const override
 
IUiAnimNode::ESupportedParamFlags GetParamFlags (const CUiAnimParamType &paramType) const override
 
unsigned int GetParamCount () const override
 
bool SetParamValue (float time, CUiAnimParamType param, float val) override
 
bool SetParamValue (float time, CUiAnimParamType param, const Vec3 &val) override
 
bool SetParamValue (float time, CUiAnimParamType param, const Vec4 &val) override
 
bool GetParamValue (float time, CUiAnimParamType param, float &val) override
 
bool GetParamValue (float time, CUiAnimParamType param, Vec3 &val) override
 
bool GetParamValue (float time, CUiAnimParamType param, Vec4 &val) override
 
void SetTarget (IUiAnimNode *node)
 
IUiAnimNodeGetTarget () const
 
void StillUpdate () override
 Evaluate animation node while not playing animation.
 
void Animate (SUiAnimContext &ec) override
 Evaluate animation to the given time.
 
virtual void PrecacheStatic (float startTime)
 
virtual void PrecacheDynamic (float time)
 
void Serialize (XmlNodeRef &xmlNode, bool bLoading, bool bLoadEmptyTracks) override
 
void SerializeUiAnims (XmlNodeRef &xmlNode, bool bLoading, bool bLoadEmptyTracks) override
 
void SetNodeOwner (IUiAnimNodeOwner *pOwner) override
 
IUiAnimNodeOwnerGetNodeOwner () override
 
void Activate (bool bActivate) override
 
void SetParent (IUiAnimNode *pParent) override
 
IUiAnimNodeGetParent () const override
 
IUiAnimNodeHasDirectorAsParent () const override
 
void UpdateDynamicParams () override
 
int GetTrackCount () const override
 
IUiAnimTrackGetTrackByIndex (int nIndex) const override
 
IUiAnimTrackGetTrackForParameter (const CUiAnimParamType &paramType) const override
 
IUiAnimTrackGetTrackForParameter (const CUiAnimParamType &paramType, uint32 index) const override
 
uint32 GetTrackParamIndex (const IUiAnimTrack *track) const override
 
IUiAnimTrackGetTrackForAzField (const UiAnimParamData &param) const override
 
IUiAnimTrackCreateTrackForAzField (const UiAnimParamData &param) override
 
void SetTrack (const CUiAnimParamType &paramType, IUiAnimTrack *track) override
 
IUiAnimTrackCreateTrack (const CUiAnimParamType &paramType) override
 
void SetTimeRange (Range timeRange) override
 
void AddTrack (IUiAnimTrack *track) override
 
bool RemoveTrack (IUiAnimTrack *track) override
 
void CreateDefaultTracks () override
 
void InitPostLoad (IUiAnimSequence *pSequence, bool remapIds, LyShine::EntityIdMap *entityIdMap) override
 
virtual void PostLoad ()
 
int GetId () const
 
void SetId (int id)
 
const char * GetNameFast () const
 
void Render () override
 
- Public Member Functions inherited from IUiAnimNode
virtual void add_ref ()=0
 
virtual void release ()=0
 
virtual void SetName (const char *name)=0
 Set node name.
 
virtual AZStd::string GetName ()=0
 Get node name.
 
virtual EUiAnimNodeType GetType () const =0
 
virtual IUiAnimSequenceGetSequence () const =0
 
virtual void SetSequence (IUiAnimSequence *sequence)=0
 
virtual void Activate (bool bActivate)=0
 
virtual void SetFlags (int flags)=0
 
virtual int GetFlags () const =0
 
virtual IUiAnimationSystemGetUiAnimationSystem () const =0
 
virtual bool SetParamValue (float time, CUiAnimParamType param, float value)=0
 
virtual bool SetParamValue (float time, CUiAnimParamType param, const Vec3 &value)=0
 
virtual bool SetParamValue (float time, CUiAnimParamType param, const Vec4 &value)=0
 
virtual bool GetParamValue (float time, CUiAnimParamType param, float &value)=0
 
virtual bool GetParamValue (float time, CUiAnimParamType param, Vec3 &value)=0
 
virtual bool GetParamValue (float time, CUiAnimParamType param, Vec4 &value)=0
 
virtual bool SetParamValueAz (float time, const UiAnimParamData &param, float value)
 
virtual bool SetParamValueAz (float time, const UiAnimParamData &param, bool value)
 
virtual bool SetParamValueAz (float time, const UiAnimParamData &param, int value)
 
virtual bool SetParamValueAz (float time, const UiAnimParamData &param, unsigned int value)
 
virtual bool SetParamValueAz (float time, const UiAnimParamData &param, const AZ::Vector2 &value)
 
virtual bool SetParamValueAz (float time, const UiAnimParamData &param, const AZ::Vector3 &value)
 
virtual bool SetParamValueAz (float time, const UiAnimParamData &param, const AZ::Vector4 &value)
 
virtual bool SetParamValueAz (float time, const UiAnimParamData &param, const AZ::Color &value)
 
virtual bool GetParamValueAz (float time, const UiAnimParamData &param, float &value)
 
virtual void StillUpdate ()=0
 Evaluate animation node while not playing animation.
 
virtual void Animate (SUiAnimContext &ec)=0
 Evaluate animation to the given time.
 
virtual unsigned int GetParamCount () const =0
 
virtual CUiAnimParamType GetParamType (unsigned int nIndex) const =0
 
virtual bool IsParamValid (const CUiAnimParamType &paramType) const =0
 
virtual AZStd::string GetParamName (const CUiAnimParamType &paramType) const =0
 
virtual AZStd::string GetParamNameForTrack (const CUiAnimParamType &paramType, const IUiAnimTrack *track) const
 
virtual EUiAnimValue GetParamValueType (const CUiAnimParamType &paramType) const =0
 
virtual ESupportedParamFlags GetParamFlags (const CUiAnimParamType &paramType) const =0
 
virtual void OnReset ()=0
 
virtual int GetTrackCount () const =0
 
virtual IUiAnimTrackGetTrackByIndex (int nIndex) const =0
 
virtual IUiAnimTrackGetTrackForParameter (const CUiAnimParamType &paramType) const =0
 
virtual IUiAnimTrackGetTrackForParameter (const CUiAnimParamType &paramType, uint32 index) const =0
 
virtual uint32 GetTrackParamIndex (const IUiAnimTrack *pTrack) const =0
 
virtual IUiAnimTrackCreateTrack (const CUiAnimParamType &paramType)=0
 
virtual IUiAnimTrackGetTrackForAzField (const UiAnimParamData &param) const =0
 
virtual IUiAnimTrackCreateTrackForAzField (const UiAnimParamData &param)=0
 
virtual void SetTrack (const CUiAnimParamType &paramType, IUiAnimTrack *track)=0
 
virtual void SetTimeRange (Range timeRange)=0
 
virtual void AddTrack (IUiAnimTrack *pTrack)=0
 
virtual bool RemoveTrack (IUiAnimTrack *pTrack)=0
 
virtual void CreateDefaultTracks ()=0
 
virtual void SetNodeOwner (IUiAnimNodeOwner *pOwner)=0
 
virtual IUiAnimNodeOwnerGetNodeOwner ()=0
 
virtual void SerializeUiAnims (XmlNodeRef &xmlNode, bool bLoading, bool bLoadEmptyTracks)=0
 
virtual void Serialize (XmlNodeRef &xmlNode, bool bLoading, bool bLoadEmptyTracks)=0
 
virtual void InitPostLoad (IUiAnimSequence *pSequence, bool remapIds, LyShine::EntityIdMap *entityIdMap)=0
 
virtual void SetParent (IUiAnimNode *pParent)=0
 
virtual IUiAnimNodeGetParent () const =0
 
virtual IUiAnimNodeHasDirectorAsParent () const =0
 
virtual void Render ()=0
 
virtual bool NeedToRender () const =0
 
virtual void UpdateDynamicParams ()=0
 

Static Public Member Functions

static void Reflect (AZ::SerializeContext *serializeContext)
 
- Static Public Member Functions inherited from CUiAnimNode
static void Reflect (AZ::SerializeContext *serializeContext)
 

Additional Inherited Members

- Public Types inherited from IUiAnimNode
enum  ESupportedParamFlags { eSupportedParamFlags_MultipleTracks = 0x01 }
 
- Protected Types inherited from CUiAnimNode
typedef AZStd::vector< AZStd::intrusive_ptr< IUiAnimTrack > > AnimTracks
 
- Protected Member Functions inherited from CUiAnimNode
virtual bool GetParamInfoFromType (const CUiAnimParamType &paramType, SParamInfo &info) const
 
int NumTracks () const
 
UiAnimationSystemGetUiAnimationSystemImpl () const
 
void RegisterTrack (IUiAnimTrack *track)
 
bool NeedToRender () const override
 
- Protected Attributes inherited from CUiAnimNode
int m_refCount
 
EUiAnimNodeType m_nodeType
 
int m_id
 
AZStd::string m_name
 
IUiAnimSequencem_pSequence
 
IUiAnimNodeOwnerm_pOwner
 
IUiAnimNodem_pParentNode
 
int m_parentNodeId
 
int m_nLoadedParentNodeId
 
int m_flags
 
unsigned int m_bIgnoreSetParam: 1
 
AnimTracks m_tracks
 

Member Function Documentation

◆ Animate()

virtual void CUiAnimEventNode::Animate ( SUiAnimContext ec)
virtual

Evaluate animation to the given time.

Reimplemented from CUiAnimNode.

◆ CreateDefaultTracks()

virtual void CUiAnimEventNode::CreateDefaultTracks ( )
virtual

Reimplemented from CUiAnimNode.

◆ GetParamCount()

virtual unsigned int CUiAnimEventNode::GetParamCount ( ) const
virtual

Reimplemented from CUiAnimNode.

◆ GetParamInfoFromType()

virtual bool CUiAnimEventNode::GetParamInfoFromType ( const CUiAnimParamType paramId,
SParamInfo info 
) const
virtual

Reimplemented from CUiAnimNode.

◆ GetParamType()

virtual CUiAnimParamType CUiAnimEventNode::GetParamType ( unsigned int  nIndex) const
virtual

Implements IUiAnimNode.

◆ OnReset()

virtual void CUiAnimEventNode::OnReset ( )
virtual

Reimplemented from CUiAnimNode.


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