unreal.MoverTime

class unreal.MoverTime(frame_count: int = 0, time_ms: float = 0.0)

Bases: StructBase

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

C++ Source:

  • Plugin: Mover

  • Module: Mover

  • File: MoverTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • frame_count (int32): [Read-Write] Number of fixed time steps that have occurred since time 0. Only valid when time advances in fixed time steps.

  • time_ms (double): [Read-Write] Time in milliseconds. In fixed time steps this should always be equal to FrameCount * Duration of a Fixed Time Step

property frame_count: int

[Read-Write] Number of fixed time steps that have occurred since time 0. Only valid when time advances in fixed time steps.

Type:

(int32)

property time_ms: float

[Read-Write] Time in milliseconds. In fixed time steps this should always be equal to FrameCount * Duration of a Fixed Time Step

Type:

(double)