Module |
|
Header |
/Engine/Source/Runtime/TimeManagement/Public/TimeSynchronizationSource.h |
Include |
#include "TimeSynchronizationSource.h" |
class UTimeSynchronizationSource : public UObject
Base class for sources to be used for time synchronization.
Subclasses don't need to directly contain data, nor provide access to the data in any way (although they may).
Currently, Synchronization does not work on the subframe level.
Name | Description | ||
---|---|---|---|
|
bUseForSynchronization |
Whether or not this source should be considered when establishing synchronization. |
|
|
FrameOffset |
An additional offset in frames (relative to this source's frame rate) that should used. |
Name | Description | |
---|---|---|
|
UTimeSynchronizationSource ( |
Name | Description | ||
---|---|---|---|
|
AddOffsetWithRolloverModulus ( |
Adds an integer offset (representing frames) to the given FrameTime. |
|
|
Close() |
Called when synchronization has been completed. The source may discard any unnecessary frames. |
|
|
ConvertFrameTimeToTimecode ( |
Convenience method to convert a FrameTime and FrameRate to a timecode value. |
|
|
FindDistanceBetweenFramesWithRolloverModulus ( |
Calculates the distance between two frames. |
|
|
GetDisplayName() |
Name to used when displaying an error message or to used in UI. |
|
|
GetFrameRate() |
Get the source actual FrameRate |
|
|
GetNewestSampleTime() |
Get the time of the newest available sample (relative to this source's frame rate). |
|
|
GetOldestSampleTime() |
Get the time of the oldest available sample (relative to this source's frame rate). |
|
|
TSharedRef< ... |
GetVisualWidget() |
Get Visual Widget of this source to display in UI |
|
IsFrameBetweenWithRolloverModulus ( |
Checks to see whether or not the given frame is between the Lower and Upper bounds. |
|
|
IsReady() |
Used to know if the source is ready to be used for synchronization. |
|
|
Open ( |
Called when synchronization is started to notify this source to begin buffering frames. |
|
|
Start ( |
Start playing samples. |