unreal.PropertyTypeFilter

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

Bases: PropertySelectorFilter

Allows a property if it is of a certain type.

Use case: You want to include only int properties.

C++ Source:

  • Plugin: LevelSnapshots

  • Module: LevelSnapshotFilters

  • File: PropertyTypeFilter.h

Editor Properties: (see get_editor_property/set_editor_property)

  • allowed_types (Set[BlueprintPropertyType]): [Read-Write] The property types that you want to allow

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