Open 3D Engine EMotionFX 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 <EventInfo.h>
Public Types | |
enum | EventState { START , ACTIVE , END } |
Public Member Functions | |
bool | IsEventStart () const |
EventInfo (float timeValue=0.0f, ActorInstance *actorInstance=nullptr, const MotionInstance *motionInstance=nullptr, MotionEvent *event=nullptr, EventState eventState=START) | |
Public Attributes | |
float | m_timeValue |
ActorInstance * | m_actorInstance |
const MotionInstance * | m_motionInstance |
AnimGraphNode * | m_emitter |
const MotionEvent * | m_event |
float | m_globalWeight |
float | m_localWeight |
EventState | m_eventState |
Triggered event info. This class holds the information for each event that gets triggered.
ActorInstance* EMotionFX::EventInfo::m_actorInstance |
The actor instance that triggered this event.
AnimGraphNode* EMotionFX::EventInfo::m_emitter |
The animgraph node which originally did emit this event. This parameter can be nullptr.
const MotionEvent* EMotionFX::EventInfo::m_event |
The event itself.
EventState EMotionFX::EventInfo::m_eventState |
Is this the start of a ranged event? Ticked events will always have this set to true.
float EMotionFX::EventInfo::m_globalWeight |
The global weight of the event.
float EMotionFX::EventInfo::m_localWeight |
The local weight of the event.
const MotionInstance* EMotionFX::EventInfo::m_motionInstance |
The motion instance which triggered this event, can be nullptr.
float EMotionFX::EventInfo::m_timeValue |
The time value of the event, in seconds.