unreal.PCGSelfPruningParameters
¶
- class unreal.PCGSelfPruningParameters(pruning_type: PCGSelfPruningType = Ellipsis, comparison_source: PCGAttributePropertyInputSelector = [], radius_similarity_factor: float = 0.0, randomized_pruning: bool = False)¶
Bases:
StructBase
PCGSelf Pruning Parameters
C++ Source:
Plugin: PCG
Module: PCG
File: PCGSelfPruning.h
Editor Properties: (see get_editor_property/set_editor_property)
comparison_source
(PCGAttributePropertyInputSelector): [Read-Write] By default, it will prune according to the extents of each point, but you can provide another comparison like Density, or a dynamic attribute. Only support numeric values or vector (vector will be reduced to its squared length).pruning_type
(PCGSelfPruningType): [Read-Write]radius_similarity_factor
(float): [Read-Write] Similarity factor to consider 2 points “equal”. (For example, if a point extents squared length is 10 and factor is 0.25, all points between 7.5 and 12.5 will be considered “the same”).randomized_pruning
(bool): [Read-Write]
- property comparison_source: PCGAttributePropertyInputSelector¶
[Read-Write] By default, it will prune according to the extents of each point, but you can provide another comparison like Density, or a dynamic attribute. Only support numeric values or vector (vector will be reduced to its squared length).
- property pruning_type: PCGSelfPruningType¶
[Read-Write]
- Type: