unreal.LevelSnapshot
¶
- class unreal.LevelSnapshot(outer=None, name='None')¶
Bases:
unreal.Object
Holds the state of a world at a given time. This asset can be used to rollback certain properties in a UWorld.
C++ Source:
Plugin: LevelSnapshots
Module: LevelSnapshots
File: LevelSnapshot.h
Editor Properties: (see get_editor_property/set_editor_property)
capture_time
(DateTime): [Read-Only] Capture Time: UTC Time that the snapshot was takenmap_path
(SoftObjectPath): [Read-Only] Map Path: Path of the map that the snapshot was taken insnapshot_description
(str): [Read-Write] Snapshot Description: User defined description of the snapshotsnapshot_name
(Name): [Read-Write] Snapshot Name: User defined name for the snapshot, can differ from the actual asset name.
- property capture_time¶
[Read-Only] Capture Time: UTC Time that the snapshot was taken
- Type
(DateTime)
- get_map_path() SoftObjectPath ¶
Get Map Path
- Return type
- property map_path¶
[Read-Only] Map Path: Path of the map that the snapshot was taken in
- Type
- set_snapshot_description(snapshot_description) None ¶
Set Snapshot Description
- Parameters
snapshot_description (str) –
- set_snapshot_name(snapshot_name) None ¶
Sets the name of this snapshot.
- Parameters
snapshot_name (Name) –