#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 (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 (float time, const Vec3 &pos) override |
void | SetRotate (float time, const Quat &quat) override |
void | SetScale (float time, const Vec3 &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 (IAnimNode *node) |
IAnimNode * | GetTarget () const |
void | StillUpdate () override |
void | Animate (SAnimContext &ec) override |
virtual void | PrecacheStatic (float startTime) |
virtual void | PrecacheDynamic (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 (IAnimTrack *pTrack, 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 (const CAnimParamType ¶mType, SParamInfo &info) const |
int | NumTracks () const |
void | RegisterTrack (IAnimTrack *pTrack) |
CMovieSystem * | GetCMovieSystem () const |
bool | NeedToRender () const override |
virtual void | ResetSounds () |
virtual void | ApplyAudioKey (char const *const sTriggerName, 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.