Navigation
API > API/Runtime > API/Runtime/AudioMixer > API/Runtime/AudioMixer/Quartz
Inheritance Hierarchy
- UObject
- FQuartzTickableObject
- UQuartzClockHandle
References
| Module | AudioMixer |
| Header | /Engine/Source/Runtime/AudioMixer/Public/Quartz/AudioMixerClockHandle.h |
| Include | #include "Quartz/AudioMixerClockHandle.h" |
Syntax
UCLASS (BlueprintType, Blueprintable, Transient, ClassGroup=Quartz,
Meta=(BlueprintSpawnableComponent), MinimalAPI)
class UQuartzClockHandle :
public UObject,
public FQuartzTickableObject
Remarks
This class is a BP / Game thread wrapper around FQuartzClockProxy (to talk to the underlying clock)
...and inherits from FQuartzTickableObject (to listen to the underlying clock)
It can subscribe to Quantized Event & Metronome delegates to synchronize gameplay & VFX to Quartz events fired from the Audio Engine
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Ctor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Dtor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
||
| bool | DoesClockExist
(
const UObject* WorldContextObject |
||
| float | GetBeatProgressPercent
(
EQuartzCommandQuantization QuantizationBoundary, |
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). | |
| float | GetBeatsPerMinute
(
const UObject* WorldContextObject |
||
| FName | GetClockName () |
||
| bool | GetCurrentTickRate
(
const UObject* WorldContextObject, |
||
| FQuartzTransportTimeStamp | GetCurrentTimestamp
(
const UObject* WorldContextObject |
Retrieves a timestamp for the clock. | |
| float | GetDurationOfQuantizationTypeInSeconds
(
const UObject* WorldContextObject, |
Returns the duration in seconds of the given Quantization Type | |
| float | GetEstimatedRunTime
(
const UObject* WorldContextObject |
Returns the amount of time, in seconds, the clock has been running. Caution: due to latency, this will not be perfectly accurate. | |
| float | GetMillisecondsPerTick
(
const UObject* WorldContextObject |
Metronome getters. | |
| float | GetSecondsPerTick
(
const UObject* WorldContextObject |
||
| float | GetThirtySecondNotesPerMinute
(
const UObject* WorldContextObject |
||
| float | GetTicksPerSecond
(
const UObject* WorldContextObject |
||
| bool | IsClockRunning
(
const UObject* WorldContextObject |
||
| void | NotifyOnQuantizationBoundary
(
const UObject* WorldContextObject, |
||
| void | PauseClock
(
const UObject* WorldContextObject, |
||
| void | ProcessCommand
(
const Audio::FQuartzQuantizedCommandDelegateData& Data |
||
| void | ProcessCommand
(
const Audio::FQuartzMetronomeDelegateData& Data |
||
| void | QueueQuantizedSound
(
const UObject* WorldContextObject, |
// Set how early we would like to receive Metronome (not yet supported) and "About To Start" Delegates. (all other command delegates will execute as normal) | |
| void | ResetTransport
(
const UObject* WorldContextObject, |
||
| void | ResetTransportQuantized
(
const UObject* WorldContextObject, |
||
| void | ResumeClock
(
const UObject* WorldContextObject, |
||
| void | SetBeatsPerMinute
(
const UObject* WorldContextObject, |
||
| void | SetMillisecondsPerTick
(
const UObject* WorldContextObject, |
Metronome Alteration (setters) | |
| void | SetSecondsPerTick
(
const UObject* WorldContextObject, |
||
| void | SetThirtySecondNotesPerMinute
(
const UObject* WorldContextObject, |
||
| void | SetTicksPerSecond
(
const UObject* WorldContextObject, |
||
| void | StartClock
(
const UObject* WorldContextObject, |
Clock manipulation. | |
| void | StartOtherClock
(
const UObject* WorldContextObject, |
"other" clock manipulation | |
| void | StopClock
(
const UObject* WorldContextObject, |
||
| void | SubscribeToAllQuantizationEvents
(
const UObject* WorldContextObject, |
||
| UQuartzClockHandle * | SubscribeToClock
(
const UObject* WorldContextObject, |
||
| void | SubscribeToQuantizationEvent
(
const UObject* WorldContextObject, |
Metronome subscription. | |
| void | UnsubscribeFromAllTimeDivisions
(
const UObject* WorldContextObject, |
||
| void | UnsubscribeFromTimeDivision
(
const UObject* WorldContextObject, |