unreal.WaveFunctionCollapseAdjacencyToOptionsMap
¶
- class unreal.WaveFunctionCollapseAdjacencyToOptionsMap(contribution: int = 0, weight: float = 0.0, adjacency_to_options_map: None = {})¶
Bases:
StructBase
Container struct for AdjacencyToOptionsMap Stores the weight and contribution of an option
C++ Source:
Plugin: WaveFunctionCollapse
Module: WaveFunctionCollapse
File: WaveFunctionCollapseModel.h
Editor Properties: (see get_editor_property/set_editor_property)
adjacency_to_options_map
(Map[WaveFunctionCollapseAdjacency, WaveFunctionCollapseOptions]): [Read-Write]contribution
(int32): [Read-Write] The amount of times an option is present when deriving a model. This value is used to calculate its weight.weight
(float): [Read-Write] The weight of an option calculated by dividing this Contribution by the sum of all contributions of all options.