unreal.PCGAttributeFilterSettings

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

Bases: PCGSettings

Filter the attributes from a given input metadata. Will remove all attributes that are not listed in AttributesToKeep. If an attribute to keep is not in the original metadata, it won’t be added.

The output will be the original data with the updated metadata.

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGAttributeFilterElement.h

Editor Properties: (see get_editor_property/set_editor_property)

  • 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]

  • filter_on_tags (Set[str]): [Read-Write] Warning - this is deprecated and will be removed soon since we have a Filter By Tag node for this specific purpose

  • operation (PCGAttributeFilterOperation): [Read-Write]

  • pass_through_filtered_out_inputs (bool): [Read-Write] Warning - this is deprecated and will be removed soon since we have a Filter By Tag node for this specific purpose

  • seed (int32): [Read-Write]

  • selected_attributes (str): [Read-Write]

  • tags_applied_on_output (Set[str]): [Read-Write] Applies the specified tags on the output data. Note - this might be replaced by a dedicated Tagging node

  • 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 operation: PCGAttributeFilterOperation

[Read-Write]

Type:

(PCGAttributeFilterOperation)

property selected_attributes: str

[Read-Write]

Type:

(str)