| IQuantizedEventListener::OnEvent()
|
Module |
|
Header |
/Engine/Plugins/Runtime/TimeSynth/Source/TimeSynth/Classes/TimeSynthComponent.h |
Include |
#include "TimeSynthComponent.h" |
Source |
/Engine/Plugins/Runtime/TimeSynth/Source/TimeSynth/Private/TimeSynthComponent.cpp |
virtual void OnEvent
(
Audio::EEventQuantization EventQuantizationType,
int32 Bars,
float Beat
)
Callback for when a specific event type occurs. Listeners register themselves for specific events. But will get the same callback called. I.e. same object can register for multiple events.
Parameter |
Description |
---|---|
EventQuantizationType |
The event type that just happened |
Bars |
The number of bars in that this event happened |
Beat |
The beat within the bar that the event happened (can be fractional for sub-division events) |