unreal.ActorInMapFilter

class unreal.ActorInMapFilter(outer: Object | None = None, name: Name | str = 'None')

Bases: ActorSelectorFilter

Allows an actor if it belongs to the specified map.

C++ Source:

  • Plugin: LevelSnapshots

  • Module: LevelSnapshotFilters

  • File: ActorInMapFilter.h

Editor Properties: (see get_editor_property/set_editor_property)

  • allowed_levels (Array[World]): [Read-Write] Only actors belonging to this Level are considered. If since the snapshot was taken:

    1. an actor was modified, it is only allowed if it was in one of these levels

    2. an actor was added, it is only added back if it was in one of these levels

  • default_result (FilterResult): [Read-Write] What to return for IsPropertyValid, IsDeletedActorValid, and IsAddedActorValid