Navigation
API > API/Plugins > API/Plugins/ElectraBase
References
| Module | ElectraBase |
| Header | /Engine/Plugins/Media/ElectraUtil/Source/ElectraBase/Public/PlayerTime.h |
| Include | #include "PlayerTime.h" |
Syntax
class FTimeFraction
Remarks
Keeps a time value as a fractional.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FTimeFraction
(
const FTimeFraction& rhs |
|||
FTimeFraction
(
const FTimeValue& tv |
|||
FTimeFraction
(
int64 n, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| double | GetAsDouble () |
||
| int64 | GetAsTimebase
(
uint32 CustomTimebase |
Returns this time value in a custom timebase. Requires internal bigint conversion and is therefor SLOW! | |
| uint32 | |||
| const FTimeFraction & | GetInvalid () |
||
| int64 | GetNumerator () |
||
| const FTimeFraction & | GetZero () |
||
| bool | |||
| bool | IsValid () |
||
| FTimeFraction & | SetFromFloatString
(
const FString& In |
||
| FTimeFraction & | SetFromND
(
int64 InNumerator, |
||
| FTimeFraction & | SetFromTimeValue
(
const FTimeValue& tv |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FTimeFraction& rhs |
||
| FTimeFraction & | operator=
(
const FTimeFraction& rhs |
||
| bool | operator==
(
const FTimeFraction& rhs |