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 Object

  • neighbors (Array(WaveFunctionCollapseNeighbor)): [Read-Write] Neighbors

  • spawn_chance (float): [Read-Write] Spawn Chance: SpawnChance 1 = 100 % chance to spawn, SpawnChance 0 = 0 % chance to spawn

  • spawn_objects (Array(SoftObjectPath)): [Read-Write] Spawn Objects

  • spawn_relative_transform (Transform): [Read-Write] Spawn Relative Transform

property key_object

[Read-Write] Key Object

Type

(SoftObjectPath)

property neighbors

[Read-Write] Neighbors

Type

(Array(WaveFunctionCollapseNeighbor))

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

(Array(SoftObjectPath))

property spawn_relative_transform

[Read-Write] Spawn Relative Transform

Type

(Transform)