unreal.PCGFilterByIndexSettings

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

Bases: PCGFilterDataBaseSettings

Filters a data collection based on a user defined index range expression.

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGFilterByIndex.h

Editor Properties: (see get_editor_property/set_editor_property)

  • break_debugger (bool): [Read-Write] If a debugger is attached, triggers a breakpoint inside IPCGElement::Execute(). Editor only. Transient.

  • category (Text): [Read-Write]

  • debug (bool): [Read-Write]

  • debug_settings (PCGDebugVisualizationSettings): [Read-Write]

  • description (Text): [Read-Write]

  • determinism_settings (PCGDeterminismSettings): [Read-Write]

  • enabled (bool): [Read-Write]

  • expose_to_library (bool): [Read-Write]

  • invert_filter (bool): [Read-Write] Will invert which indices will be included and excluded.

  • seed (int32): [Read-Write]

  • selected_indices (str): [Read-Write] Selected individual indices or index ranges to include or exclude. Negative end indices allowed. For example, on an array of size 10: ‘0,2,4:5,7:-1’ will include indices: 0,2,4,7,8

  • use_seed (bool): [Read-Only] By default, settings won’t use a seed. Set this bool to true in the child ctor to allow edition and use it.

property invert_filter: bool

[Read-Write] Will invert which indices will be included and excluded.

Type:

(bool)

property selected_indices: str

[Read-Write] Selected individual indices or index ranges to include or exclude. Negative end indices allowed. For example, on an array of size 10: ‘0,2,4:5,7:-1’ will include indices: 0,2,4,7,8

Type:

(str)