#include <AnimGraphEventBuffer.h>
Public Member Functions | |
AnimGraphEventBuffer (const AnimGraphEventBuffer &)=default | |
AnimGraphEventBuffer (AnimGraphEventBuffer &&)=default | |
AnimGraphEventBuffer & | operator= (const AnimGraphEventBuffer &)=default |
AnimGraphEventBuffer & | operator= (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 EventInfo & | GetEvent (size_t index) const |
void | TriggerEvents () const |
void | UpdateWeights (AnimGraphInstance *animGraphInstance) |
void | UpdateEmitters (AnimGraphNode *emitterNode) |
void | Log () const |
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.