Navigation
API > API/Plugins > API/Plugins/Mover
A time that can be a frame count or a floating point value. When time advances in fixed time steps a frame count will be provided to allow for exact time arithmetic A floating point time will also be provided in milliseconds When time advances in variable time steps, the frame count will be INDEX_NONE (-1) and only the floating point time will be valid
| Name | FMoverTime |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoverTypes.h |
| Include Path | #include "MoverTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FMoverTime
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FrameCount | int32 | Number of fixed time steps that have occurred since time 0. Only valid when time advances in fixed time steps. | MoverTypes.h |
|
| TimeMs | double | Time in milliseconds. In fixed time steps this should always be equal to FrameCount * Duration of a Fixed Time Step. | MoverTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
double ElapsedSecondsTo
(
const FMoverTime& Other, |
Returns elapsed time in seconds from this time to Other. | MoverTypes.h | |
FString ToString() |
MoverTypes.h |