Navigation
API > API/Runtime > API/Runtime/TimeManagement
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UTimeManagementBlueprintLibrary
References
| Module | TimeManagement |
| Header | /Engine/Source/Runtime/TimeManagement/Public/TimeManagementBlueprintLibrary.h |
| Include | #include "TimeManagementBlueprintLibrary.h" |
Syntax
class UTimeManagementBlueprintLibrary : public UBlueprintFunctionLibrary
Functions
| Type | Name | Description | |
|---|---|---|---|
| FFrameNumber | Addition (FrameNumber A + FrameNumber B) | ||
| FFrameNumber | Add_FrameNumberInteger
(
FFrameNumber A, |
Addition (FrameNumber A + int B) | |
| int32 | Conv_FrameNumberToInteger
(
const FFrameNumber& InFrameNumber |
Converts a FrameNumber to an int32 for use in functions that take int32 frame counts for convenience. | |
| float | Conv_FrameRateToInterval
(
const FFrameRate InFrameRate |
Converts a FrameRate to an interval float representing the frame time in seconds ie: 1/30 returns 0.0333333 | |
| float | Conv_QualifiedFrameTimeToSeconds
(
const FQualifiedFrameTime& InFrameTime |
Converts an QualifiedFrameTime to seconds. | |
| FString | Conv_TimecodeToString
(
const FTimecode& InTimecode, |
Converts an Timecode to a string (hh:mm:ss:ff). | |
| FFrameNumber | Divide_FrameNumberInteger
(
FFrameNumber A, |
Divide (FrameNumber A / B) | |
| FTimecode | GetTimecode () |
Get the current timecode of the engine. | |
| FFrameRate | Gets the current timecode frame rate. | ||
| bool | IsValid_Framerate
(
const FFrameRate& InFrameRate |
Verifies that this is a valid framerate with a non-zero denominator. | |
| bool | IsValid_MultipleOf
(
const FFrameRate& InFrameRate, |
Checks if this framerate is an even multiple of another framerate, ie: 60 is a multiple of 30, but 59.94 is not. | |
| FFrameNumber | Multiply_FrameNumberInteger
(
FFrameNumber A, |
Multiply (FrameNumber A * B) | |
| FFrameTime | Multiply_SecondsFrameRate
(
float TimeInSeconds, |
Multiplies a value in seconds against a FrameRate to get a new FrameTime. | |
| FFrameTime | SnapFrameTimeToRate
(
const FFrameTime& SourceTime, |
Snaps the given SourceTime to the nearest frame in the specified Destination Framerate. | |
| FFrameNumber | Subtraction (FrameNumber A - FrameNumber B) | ||
| FFrameNumber | Subtract_FrameNumberInteger
(
FFrameNumber A, |
Subtraction (FrameNumber A - int B) | |
| FFrameTime | TransformTime
(
const FFrameTime& SourceTime, |
Converts the specified time from one framerate to another framerate. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| float | Conv_FrameRateToSeconds
(
const FFrameRate& InFrameRate |
Conv_FrameRateToSeconds has been deprecated, use Conv_FrameRateToInterval instead |