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::AnimGraphEventBuffer Class Reference

#include <AnimGraphEventBuffer.h>

Public Member Functions

 AnimGraphEventBuffer (const AnimGraphEventBuffer &)=default
 
 AnimGraphEventBuffer (AnimGraphEventBuffer &&)=default
 
AnimGraphEventBufferoperator= (const AnimGraphEventBuffer &)=default
 
AnimGraphEventBufferoperator= (AnimGraphEventBuffer &&)=default
 
void Reserve (size_t numEvents)
 
void Resize (size_t numEvents)
 
void AddEvent (const EventInfo &newEvent)
 
void AddAllEventsFrom (const AnimGraphEventBuffer &eventBuffer)
 
template<typename... Args>
void AddEvent (Args &&... args)
 
void SetEvent (size_t index, const EventInfo &eventInfo)
 
void Clear ()
 
MCORE_INLINE size_t GetNumEvents () const
 
MCORE_INLINE const EventInfoGetEvent (size_t index) const
 
void TriggerEvents () const
 
void UpdateWeights (AnimGraphInstance *animGraphInstance)
 
void UpdateEmitters (AnimGraphNode *emitterNode)
 
void Log () const
 

Detailed Description

The anim graph event buffer class, which holds a collection of events which later have to be triggered. This buffer is passed around the animgraph when processing it. The event buffer emitted by the root state machine of the animgraph will get triggered.


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