Open 3D Engine LyShine 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.
IUiAnimNode Struct Referenceabstract

#include <IUiAnimation.h>

Inherited by CUiAnimNode.

Public Types

enum  ESupportedParamFlags { eSupportedParamFlags_MultipleTracks = 0x01 }
 

Public Member Functions

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 ([[maybe_unused]] float time, [[maybe_unused]] const UiAnimParamData &param, [[maybe_unused]] float value)
 
virtual bool SetParamValueAz ([[maybe_unused]] float time, [[maybe_unused]] const UiAnimParamData &param, [[maybe_unused]] bool value)
 
virtual bool SetParamValueAz ([[maybe_unused]] float time, [[maybe_unused]] const UiAnimParamData &param, [[maybe_unused]] int value)
 
virtual bool SetParamValueAz ([[maybe_unused]] float time, [[maybe_unused]] const UiAnimParamData &param, [[maybe_unused]] unsigned int value)
 
virtual bool SetParamValueAz ([[maybe_unused]] float time, [[maybe_unused]] const UiAnimParamData &param, [[maybe_unused]] const AZ::Vector2 &value)
 
virtual bool SetParamValueAz ([[maybe_unused]] float time, [[maybe_unused]] const UiAnimParamData &param, [[maybe_unused]] const AZ::Vector3 &value)
 
virtual bool SetParamValueAz ([[maybe_unused]] float time, [[maybe_unused]] const UiAnimParamData &param, [[maybe_unused]] const AZ::Vector4 &value)
 
virtual bool SetParamValueAz ([[maybe_unused]] float time, [[maybe_unused]] const UiAnimParamData &param, [[maybe_unused]] const AZ::Color &value)
 
virtual bool GetParamValueAz ([[maybe_unused]] float time, [[maybe_unused]] const UiAnimParamData &param, [[maybe_unused]] 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, [[maybe_unused]] 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
 

Detailed Description

Base class for all Animation nodes, can host multiple animation tracks, and execute them other time. Animation node is reference counted.


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