Open 3D Engine EMotionFX 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.
EMotionFX::Integration::MotionEvent Struct Reference

#include <AnimationBus.h>

Public Types

enum  { kMaxParameterStringLength = 64 - 1 }
 
typedef AZStd::array< char, kMaxParameterStringLength+1 > ParameterStringStorage
 

Public Member Functions

 AZ_TYPE_INFO (MotionEvent, "{0C899DAC-6B19-4BDD-AD8C-8A11EF2A6729}")
 
 MotionEvent (const MotionEvent &rhs)
 
void SetParameterString (const char *str, size_t length)
 

Public Attributes

ParameterStringStorage m_parameterStorage
 
AZ::EntityId m_entityId
 EntityId associated with the originating actor.
 
const char * m_parameter
 Optional string parameter.
 
EMotionFX::ActorInstancem_actorInstance
 Pointer to the actor instance on which the event is playing.
 
const EMotionFX::MotionInstancem_motionInstance
 Pointer to the motion instance from which the event was fired.
 
float m_time
 Time value of the event, in seconds.
 
AZ::u32 m_eventType
 Type Id of the event. m_eventTypeName stores the string representation.
 
const char * m_eventTypeName
 Event type in string form.
 
float m_globalWeight
 Global weight of the event.
 
float m_localWeight
 Local weight of the event.
 
bool m_isEventStart
 Is this the start of a ranged event? This is always true for one-shot events.
 

Detailed Description

Motion event descriptor.


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