unreal.TransformPropertyFilter

class unreal.TransformPropertyFilter(outer=None, name='None')

Bases: unreal.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] Default Result: What to return for IsActorValid, IsDeletedActorValid, and IsAddedActorValid

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

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

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