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.
|
#include <AnimNode.h>
Inherits IAnimNode.
Inherited by CAnimAzEntityNode, CAnimCVarNode, CAnimComponentNode, CAnimEventNode, CAnimNodeGroup, CAnimPostFXNode, CAnimSceneNode, CAnimScreenFaderNode, CAnimScriptVarNode, CCommentNode, CLayerNode, and CShadowsSetupNode.
Public Types | |
typedef AZStd::vector< AZStd::intrusive_ptr< IAnimTrack > > | AnimTracks |
Public Member Functions | |
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 ¶mType) const override |
AZStd::string | GetParamName (const CAnimParamType ¶m) const override |
AnimValueType | GetParamValueType (const CAnimParamType ¶mType) const override |
IAnimNode::ESupportedParamFlags | GetParamFlags (const CAnimParamType ¶mType) 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 ¶mType) const override |
IAnimTrack * | GetTrackForParameter (const CAnimParamType ¶mType, uint32 index) const override |
uint32 | GetTrackParamIndex (const IAnimTrack *pTrack) const override |
void | SetTrack (const CAnimParamType ¶mType, IAnimTrack *track) override |
IAnimTrack * | CreateTrack (const CAnimParamType ¶mType) override |
void | InitializeTrackDefaultValue ([[maybe_unused]] IAnimTrack *pTrack, [[maybe_unused]] const CAnimParamType ¶mType) 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 | Reflect (AZ::ReflectContext *context) |
Protected Member Functions | |
virtual bool | GetParamInfoFromType ([[maybe_unused]] const CAnimParamType ¶mType, [[maybe_unused]] SParamInfo &info) const |
int | NumTracks () const |
void | RegisterTrack (IAnimTrack *pTrack) |
CMovieSystem * | GetCMovieSystem () 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) |
Base class for all Animation nodes, can host multiple animation tracks, and execute them other time. Animation node is reference counted.