Navigation
API > API/Runtime > API/Runtime/AudioMixer > API/Runtime/AudioMixer/Quartz > API/Runtime/AudioMixer/Quartz/UQuartzClockHandle
References
| Module | AudioMixer |
| Header | /Engine/Source/Runtime/AudioMixer/Public/Quartz/AudioMixerClockHandle.h |
| Include | #include "Quartz/AudioMixerClockHandle.h" |
| Source | /Engine/Source/Runtime/AudioMixer/Private/Quartz/AudioMixerClockHandle.cpp |
UFUNCTION (BlueprintCallable, Category="Quantization",
Meta=(AutoCreateRefTerm="PhaseOffset", Keywords="BPM, Tempo"))
float GetBeatProgressPercent
(
EQuartzCommandQuantization QuantizationBoundary,
float PhaseOffset,
float MsOffset
)
Remarks
Returns the current progress until the next occurrence of the provided musical duration as a float value from 0 (previous beat) to 1 (next beat). This is useful for indexing into curves to animate parameters to musical time. Ms and Phase offsets are combined internally.