Ark Server API (ASA) - Wiki
|
#include <QualifiedFrameTime.h>
Public Member Functions | |
FQualifiedFrameTime () | |
FQualifiedFrameTime (const FFrameTime &InTime, const FFrameRate &InRate) | |
FQualifiedFrameTime (const FTimecode &InTimecode, const FFrameRate &InRate) | |
double | AsSeconds () const |
FFrameTime | ConvertTo (FFrameRate DesiredRate) const |
FTimecode | ToTimecode () const |
FTimecode | ToTimecode (bool bDropFrame) const |
Public Attributes | |
FFrameTime | Time |
FFrameRate | Rate |
A frame time qualified by a frame rate context
Definition at line 12 of file QualifiedFrameTime.h.
|
inline |
Default construction for UObject purposes
Definition at line 18 of file QualifiedFrameTime.h.
|
inline |
User construction from a frame time and its frame rate
Definition at line 25 of file QualifiedFrameTime.h.
|
inline |
User construction from a timecode and its frame rate
Definition at line 32 of file QualifiedFrameTime.h.
|
inline |
Convert this frame time to a value in seconds
Definition at line 43 of file QualifiedFrameTime.h.
|
inline |
Convert this frame time to a different frame rate
Definition at line 51 of file QualifiedFrameTime.h.
|
inline |
Create an FTimecode from this qualified frame time.
Any subframe value in the frame time will be ignored. Whether or not the returned timecode is a drop-frame timecode will be determined by the qualified frame time's frame rate and the CVar specifying whether to generate drop-frame timecodes by default for supported frame rates.
Definition at line 63 of file QualifiedFrameTime.h.
Create an FTimecode from this qualified frame time. Optionally supports creating a drop-frame timecode, which drops certain timecode display numbers to help account for NTSC frame rates which are fractional.
bDropFrame | If true, the returned timecode will drop the first two frames on every minute (except when Minute % 10 == 0). This is only valid for NTSC framerates (29.97, 59.94) and will assert if you try to create a drop-frame timecode from a non-valid framerate. All framerates can be represented by non-drop timecode. |
Definition at line 76 of file QualifiedFrameTime.h.
FFrameRate FQualifiedFrameTime::Rate |
The rate that this frame time is in
Definition at line 87 of file QualifiedFrameTime.h.
FFrameTime FQualifiedFrameTime::Time |
The frame time
Definition at line 84 of file QualifiedFrameTime.h.