unreal.NegationFilter

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

Bases: LevelSnapshotFilter

Returns the results of a child filter optionally negated. * * Negation rules: * - Include negated becomes Exclude * - Exclude negated becomes Include * - DoNotCare negated becomes DoNotCare

C++ Source:

  • Plugin: LevelSnapshots

  • Module: LevelSnapshotFilters

  • File: NegationFilter.h

Editor Properties: (see get_editor_property/set_editor_property)

  • child (LevelSnapshotFilter): [Read-Write]

  • instanced_child (LevelSnapshotFilter): [Read-Write]

  • should_negate (bool): [Read-Write]

create_child(child_class) LevelSnapshotFilter

Creates an instanced child. If you intend to save this filter, you should use this function instead of SetExternalChild;

Parameters:

child_class (type(Class)) –

Return type:

LevelSnapshotFilter

get_child() LevelSnapshotFilter

Get Child

Return type:

LevelSnapshotFilter

set_external_child(new_child) None

Creates an instanced child. If you intend to save this filter, you should use CreateChild;

Parameters:

new_child (LevelSnapshotFilter) –

property should_negate: bool

[Read-Write]

Type:

(bool)