unreal.MoverEventContext¶
- class unreal.MoverEventContext(event_time_ms: float = 0.0, server_frame: int = 0, is_during_resimulation: bool = False, is_caused_by_rollback: bool = False)¶
Bases:
StructBaseStruct containing additional context about an event occurrence, such as what led to it
C++ Source:
Plugin: Mover
Module: Mover
File: MoverTypes.h
Editor Properties: (see get_editor_property/set_editor_property)
event_time_ms(double): [Read-Write] Simulation time that this event occurred (in server simulation timespace)is_caused_by_rollback(bool): [Read-Write] Did this event occur during the instant that the simulation rolled back to an earlier state? Note this is different than during resim. See also bIsDuringResimulation:is_during_resimulation(bool): [Read-Write] Did this event occur while resimulating a past sim frame?server_frame(int32): [Read-Write] Server frame that this event occurred
- property event_time_ms: float¶
[Read-Write] Simulation time that this event occurred (in server simulation timespace)
- Type:
(double)
- property is_caused_by_rollback: bool¶
[Read-Write] Did this event occur during the instant that the simulation rolled back to an earlier state? Note this is different than during resim. See also bIsDuringResimulation:
- Type:
(bool)