FTimeSynthEventListener::OnEvent

Callback for when a specific event type occurs.

Windows
MacOS
Linux

Override Hierarchy

IQuantizedEventListener::OnEvent()

FTimeSynthEventListener::OnEvent()

References

Module

TimeSynth

Header

/Engine/Plugins/Runtime/TimeSynth/Source/TimeSynth/Classes/TimeSynthComponent.h

Include

#include "TimeSynthComponent.h"

Source

/Engine/Plugins/Runtime/TimeSynth/Source/TimeSynth/Private/TimeSynthComponent.cpp

Syntax

virtual void OnEvent
(
    Audio::EEventQuantization EventQuantizationType,
    int32 Bars,
    float Beat
)

Remarks

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.

Parameters

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)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss