unreal.WaveFunctionCollapseAdjacencyToOptionsMap
¶
- class unreal.WaveFunctionCollapseAdjacencyToOptionsMap(contribution=1, weight=0.0, adjacency_to_options_map={})¶
Bases:
unreal.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] Adjacency to Options Mapcontribution
(int32): [Read-Write] Contribution: The amount of times an option is present when deriving a model. This value is used to calculate its weight.weight
(float): [Read-Write] Weight: The weight of an option calculated by dividing this Contribution by the sum of all contributions of all options.
- property adjacency_to_options_map¶
[Read-Write] Adjacency to Options Map
- property contribution¶
[Read-Write] Contribution: The amount of times an option is present when deriving a model. This value is used to calculate its weight.
- Type
(int32)