![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MediaClock.h>
Inheritance diagram for FMediaClock:Public Member Functions | |
| FMediaClock () | |
| void | TickInput () |
| void | TickOutput () |
| void | TickRender () |
| void | TickFetch () |
| void | UpdateTimecode (const FTimespan NewTimecode, bool NewTimecodeLocked) |
| virtual void | AddSink (const TSharedRef< IMediaClockSink, ESPMode::ThreadSafe > &Sink) override |
| virtual FTimespan | GetTimecode () const override |
| virtual bool | IsTimecodeLocked () const override |
| virtual void | RemoveSink (const TSharedRef< IMediaClockSink, ESPMode::ThreadSafe > &Sink) override |
Public Member Functions inherited from IMediaClock | |
| virtual | ~IMediaClock () |
Implements the media clock.
| FMediaClock::FMediaClock | ( | ) |
Default constructor.
|
overridevirtual |
Add a media clock sink.
| Sink | The sink object to add. |
Implements IMediaClock.
|
overridevirtual |
Get the clock's current time code.
Implements IMediaClock.
|
overridevirtual |
Whether the clock's time code is locked to an external time source.
Implements IMediaClock.
|
overridevirtual |
Remove a media clock sink.
| Sink | The sink object to remove. |
Implements IMediaClock.
| void FMediaClock::TickFetch | ( | ) |
Tick all clock sinks in the Update stage.
| void FMediaClock::TickInput | ( | ) |
Tick all clock sinks in the Input stage.
| void FMediaClock::TickOutput | ( | ) |
Tick all clock sinks in the Output stage.
| void FMediaClock::TickRender | ( | ) |
Tick all clock sinks in the Render stage.
Update the current time code.
| NewTimecode | The new time code. |
| NewTimecodeLocked | Whether media objects should lock to the time code. |