unreal.WaveFunctionCollapseNeighborRule
¶
- class unreal.WaveFunctionCollapseNeighborRule(key_object=[''], neighbors=[], spawn_objects=[], spawn_relative_transform=[[0.0, 0.0, 0.0], [- 0.0, 0.0, 0.0], [1.0, 1.0, 1.0]], spawn_chance=1.0)¶
Bases:
unreal.StructBase
Wave Function Collapse Neighbor Rule
C++ Source:
Plugin: WaveFunctionCollapse
Module: WaveFunctionCollapse
File: WaveFunctionCollapseBPLibrary.h
Editor Properties: (see get_editor_property/set_editor_property)
key_object
(SoftObjectPath): [Read-Write] Key Objectneighbors
(Array(WaveFunctionCollapseNeighbor)): [Read-Write] Neighborsspawn_chance
(float): [Read-Write] Spawn Chance: SpawnChance 1 = 100 % chance to spawn, SpawnChance 0 = 0 % chance to spawnspawn_objects
(Array(SoftObjectPath)): [Read-Write] Spawn Objectsspawn_relative_transform
(Transform): [Read-Write] Spawn Relative Transform
- property key_object¶
[Read-Write] Key Object
- Type
- property neighbors¶
[Read-Write] Neighbors
- Type
- property spawn_chance¶
[Read-Write] Spawn Chance: SpawnChance 1 = 100 % chance to spawn, SpawnChance 0 = 0 % chance to spawn
- Type
(float)
- property spawn_objects¶
[Read-Write] Spawn Objects
- Type