unreal.NegationFilter

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

Bases: unreal.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] Child

  • instanced_child (LevelSnapshotFilter): [Read-Write] Instanced Child

  • should_negate (bool): [Read-Write] Should Negate

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

[Read-Write] Should Negate

Type

(bool)