unreal.PCGAttributeSelectSettings
¶
- class unreal.PCGAttributeSelectSettings(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
PCGSettings
Take all the entries/points from the input and perform a select operation on the given attribute/property on the given axis (if the attribute/property is a vector) and output the result into a ParamData. It will also output the selected point if the input is a PointData.
Only support vector attributes and scalar attributes.
CustomAxis is overridable.
In case of the median operation, and the number of elements is even, we arbitrarily chose a point (Index = Num / 2)
If the OutputAttributeName is None, we will use InputSource.GetName().
C++ Source:
Plugin: PCG
Module: PCG
File: PCGAttributeSelectElement.h
Editor Properties: (see get_editor_property/set_editor_property)
axis
(PCGAttributeSelectAxis): [Read-Write]category
(Text): [Read-Write]custom_axis
(Vector4): [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 purposeinput_source
(PCGAttributePropertySelector): [Read-Write]operation
(PCGAttributeSelectOperation): [Read-Write]output_attribute_name
(Name): [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 purposeseed
(int32): [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 nodeuse_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 axis: PCGAttributeSelectAxis¶
[Read-Write]
- Type:
- property input_source: PCGAttributePropertySelector¶
[Read-Write]
- Type:
- property operation: PCGAttributeSelectOperation¶
[Read-Write]
- Type: