unreal.IsPropertyValidParams

class unreal.IsPropertyValidParams(snapshot_actor=None, level_actor=None, snapshot_property_container=[], level_property_containers=[], property_=None, property_path=[])

Bases: unreal.StructBase

Is Property Valid Params

C++ Source:

  • Plugin: LevelSnapshots

  • Module: LevelSnapshotFilters

  • File: LevelSnapshotFilterParams.h

Editor Properties: (see get_editor_property/set_editor_property)

  • level_actor (Actor): [Read-Write] Level Actor: The actor equivalent to LevelActor: it exists in the world

  • level_property_containers (PropertyContainerHandle): [Read-Write] Level Property Containers: For passing to FProperty::ContainerPtrToValuePtr. This is either LevelPropertyContainers or a subobject thereof.

  • property_ (‘undefined’): [Read-Write] Property: The property that we may want to rollback.

  • property_path (Array(str)): [Read-Write] Property Path: Each elements is the name of a subobject name leading to this property. The last element is the property name. The first element is either the name of a component or a struct/subobject in the root actor.

    Examples:
    • MyCustomComponent -> MyCustomStructPropertyName -> PropertyName

    • MyCustomComponent -> MyCustomStructPropertyName
      • StructPropertyNameInActor -> PropertyName

  • snapshot_actor (Actor): [Read-Write] Snapshot Actor: The actor saved in the snapshot

  • snapshot_property_container (PropertyContainerHandle): [Read-Write] Snapshot Property Container: For passing to FProperty::ContainerPtrToValuePtr. This is either SnapshotActor or a subobject thereof.

property level_actor

[Read-Only] Level Actor: The actor equivalent to LevelActor: it exists in the world

Type

(Actor)

property level_property_containers

[Read-Only] Level Property Containers: For passing to FProperty::ContainerPtrToValuePtr. This is either LevelPropertyContainers or a subobject thereof.

Type

(PropertyContainerHandle)

property property_

[Read-Only] Property: The property that we may want to rollback.

Type

(‘undefined’)

property property_path

[Read-Only] Property Path: Each elements is the name of a subobject name leading to this property. The last element is the property name. The first element is either the name of a component or a struct/subobject in the root actor.

Examples

  • MyCustomComponent -> MyCustomStructPropertyName -> PropertyName

  • MyCustomComponent -> MyCustomStructPropertyName
    • StructPropertyNameInActor -> PropertyName

Type

(Array(str))

property snapshot_actor

[Read-Only] Snapshot Actor: The actor saved in the snapshot

Type

(Actor)

property snapshot_property_container

[Read-Only] Snapshot Property Container: For passing to FProperty::ContainerPtrToValuePtr. This is either SnapshotActor or a subobject thereof.

Type

(PropertyContainerHandle)