Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/Timecode.h |
Include |
#include "Misc/Timecode.h" |
struct FTimecode
A timecode that stores time in HH:MM:SS format with the remainder of time represented by an integer frame count.
Name | Description | ||
---|---|---|---|
|
bDropFrameFormat |
If true, this Timecode represents a Drop Frame timecode used to account for fractional frame rates in NTSC play rates. |
|
|
Frames |
How many frames does this timecode represent |
|
|
Hours |
How many hours does this timecode represent |
|
|
Minutes |
How many minutes does this timecode represent |
|
|
Seconds |
How many seconds does this timecode represent |
Name | Description | |
---|---|---|
|
FTimecode() |
Default construction for UObject purposes |
|
FTimecode ( |
User construction from a time in seconds |
|
FTimecode ( |
User construction from a time in seconds |
|
FTimecode |
User construction from a number of hours minutes seconds and frames. |
Name | Description | ||
---|---|---|---|
|
FromFrameNumber ( |
Create a FTimecode from a specific frame number at the given frame rate. |
|
|
FromFrameNumber ( |
Create a FTimecode from a specific frame number at the given frame rate. |
|
|
FromTimespan ( |
Create a FTimecode from a timespan at the given frame rate. |
|
|
FromTimespan ( |
Create a FTimecode from a timespan at the given frame rate. |
|
|
IsDropFormatTimecodeSupported ( |
Drop frame is only support for frame rate of 29.97 or 59.94. |
|
|
ToFrameNumber ( |
Converts this Timecode back into a Frame Number at the given framerate, taking into account if this is a drop-frame format timecode. |
|
|
ToString ( |
Get the Qualified Timecode formatted in HH:MM:SS:FF or HH:MM:SS;FF depending on if this represents drop-frame timecode or not. |
|
|
ToTimespan ( |
Converts this Timecode back into a timespan at the given framerate, taking into account if this is a drop-frame format timecode. |
|
|
UseDropFormatTimecode ( |
If the frame rate support drop frame format and the app wish to use drop frame format by default. |
|
|
UseDropFormatTimecodeByDefaultWhenSupported() |
By default, should we generate a timecode in drop frame format when the frame rate does support it. |