unreal.PCGMatchAndSetWeighted
¶
- class unreal.PCGMatchAndSetWeighted(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
PCGMatchAndSetBase
This Match & Set object assigns randomly a value based on weighted ratios, provided in the entries.
C++ Source:
Plugin: PCG
Module: PCG
File: PCGMatchAndSetWeighted.h
Editor Properties: (see get_editor_property/set_editor_property)
entries
(Array[PCGMatchAndSetWeightedEntry]): [Read-Write] Values and their respective weightsshould_mutate_seed
(bool): [Read-Write] Controls whether the output data should mutate its seed - prevents issues when doing multiple random processes in a row