Navigation
Unreal Engine C++ API Reference > Runtime > AudioMixer > Quartz
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UQuartzClockHandle
References
Module | AudioMixer |
Header | /Engine/Source/Runtime/AudioMixer/Public/Quartz/AudioMixerClockHandle.h |
Include | #include "Quartz/AudioMixerClockHandle.h" |
Syntax
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 | |
---|---|---|---|
![]() ![]() |
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 | QueueQuantizedSound
(
const UObject* WorldContextObject, |
Void SetNotificationAnticipationAmountInMilliseconds(const UObject* WorldContextObject, UQuartzClockHandle*& ClockHandle, const double Milliseconds = 0.0); |
![]() |
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, |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | BeginDestroy () |
Called before destroying the object. |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ProcessCommand
(
const Audio::FQuartzQuantizedCommandDelegateData& Data |
This function should not be called directly, and the original functionality has been moved into FQuartzTickable |
![]() ![]() |
void | ProcessCommand
(
const Audio::FQuartzMetronomeDelegateData& Data |
This function should not be called directly, and the original functionality has been moved into FQuartzTickable |