Navigation
API > API/Plugins > API/Plugins/ElectraBase
Keeps a time value as a fractional.
| Name | FTimeFraction |
| Type | class |
| Header File | /Engine/Plugins/Media/ElectraUtil/Source/ElectraBase/Public/PlayerTime.h |
| Include Path | #include "PlayerTime.h" |
Syntax
class FTimeFraction
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTimeFraction
(
int64 n, |
PlayerTime.h | ||
FTimeFraction
(
const FTimeValue& tv |
PlayerTime.h | ||
FTimeFraction
(
const FTimeFraction& rhs |
PlayerTime.h | ||
| PlayerTime.h | |||
FTimeFraction
(
const FTimespan& tv |
PlayerTime.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsValid | bool | PlayerTime.h | ||
| Denominator | uint32 | PlayerTime.h | ||
| Numerator | int64 | PlayerTime.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
double GetAsDouble() |
PlayerTime.h | ||
int64 GetAsTimebase
(
uint32 CustomTimebase |
Returns this time value in a custom timebase. Requires internal bigint conversion and is therefor SLOW! | PlayerTime.h | |
FTimespan GetAsTimespan() |
PlayerTime.h | ||
uint32 GetDenominator() |
PlayerTime.h | ||
int64 GetNumerator() |
PlayerTime.h | ||
bool IsPositiveInfinity() |
PlayerTime.h | ||
bool IsValid() |
PlayerTime.h | ||
FTimeFraction & SetFromFloatString
(
const FString& In |
PlayerTime.h | ||
FTimeFraction & SetFromND
(
int64 InNumerator, |
PlayerTime.h | ||
FTimeFraction & SetFromTimespan
(
const FTimespan& tv |
PlayerTime.h | ||
FTimeFraction & SetFromTimeValue
(
const FTimeValue& tv |
PlayerTime.h | ||
FTimeFraction & SetToPositiveInfinity() |
PlayerTime.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FTimeFraction & GetInvalid() |
PlayerTime.h | ||
static const FTimeFraction & GetPositiveInfinity() |
PlayerTime.h | ||
static const FTimeFraction & GetZero() |
PlayerTime.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FTimeFraction& rhs |
PlayerTime.h | ||
FTimeFraction & operator=
(
const FTimeFraction& rhs |
PlayerTime.h | ||
bool operator==
(
const FTimeFraction& rhs |
PlayerTime.h |