unreal.TransformPropertyFilter

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

Bases: PropertySelectorFilter

Allows you to filter location, rotation, and scale properties on scene components. Use case: You want to restore the location but not rotation of an actor.

C++ Source:

  • Plugin: LevelSnapshots

  • Module: LevelSnapshotFilters

  • File: TransformPropertyFilter.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • location (FilterResult): [Read-Write] Should the location property be restored?

  • rotation (FilterResult): [Read-Write] Should the rotation property be restored?

  • scale (FilterResult): [Read-Write] Should the scale property be restored?