Wave Function Collapse

Wave Function Collapse

Choose your operating system:

Windows

macOS

Linux

On this page

Actions

Add Constraint

Create a constraint

Target is Wave Function Collapse Model

Add to Adjacency to Options Map

Add an entry to an AdjacencyToOptionsMap

Target is Wave Function Collapse BPLibrary

Build Initial Tile

Builds the initial tile which adds every unique option in a model to its RemainingOptions array and calculates its entropy

Target is Wave Function Collapse BPLibrary

Calculate Shannon Entropy

Calculates Shannon Entropy from an array of options and a given model

Target is Wave Function Collapse BPLibrary

Derive Model from Actors

Derive constraints from a given layout of actors and append them to a model

Target is Wave Function Collapse BPLibrary

Get Adjacent Indices

Get adjacent indices of a given index and its adjacency

Target is Wave Function Collapse BPLibrary

Get Adjacent Positions

Get adjacent positions of a given position and its adjacency

Target is Wave Function Collapse BPLibrary

Get Constraint Count

Get the total count of constraints in this model

Target is Wave Function Collapse Model

Get Next ZAxis Clockwise Adjacency

Get the next adjacency in clockwise direction on a Z-axis for a given adjacency. For example GetNextZAxisClockwiseAdjacency(Front) will return Right. Up or Down will return the original adjacency.

Target is Wave Function Collapse BPLibrary

Get Opposite Adjacency

Get the opposite adjacency for a given adjacency. For example GetOppositeAdjacency(Front) will return Back.

Target is Wave Function Collapse BPLibrary

Get Option Contribution

Get the contribution value of an option

Target is Wave Function Collapse Model

Get Option Weight

Get the weight value of an option

Target is Wave Function Collapse Model

Get Options

Get all options for a given key option in a given adjacency

Target is Wave Function Collapse Model

Get Position to Option Map from Actor

Get PositionToOptionsMap from a given actor that has ISM components. This is useful when you want to derive neighboring tile data from a WFC-solved actor to be used for post processing. This will only evaluate ISM components.

Target is Wave Function Collapse BPLibrary

Index as Position

Convert 2D array index to 3D grid position

Target is Wave Function Collapse BPLibrary

Is Option Contained

Is the option contained in the given options array

Target is Wave Function Collapse BPLibrary

Is Soft Obj Path Equal

Is Soft Obj Path Equal

Target is Wave Function Collapse BPLibrary

Make Border Option

Make FWaveFunctionCollapseOption of type: BorderOption

Target is Wave Function Collapse BPLibrary

Make Empty Option

Make FWaveFunctionCollapseOption of type: EmptyOption

Target is Wave Function Collapse BPLibrary

Make Void Option

Make FWaveFunctionCollapseOption of type: VoidOption

Target is Wave Function Collapse BPLibrary

Position as Index

Convert 3D grid position to 2D array index

Target is Wave Function Collapse BPLibrary

Sanitize Rotator

Converts Rotator to Matrix and back to sanitize multiple representations of the same rotation to a common Rotator value

Target is Wave Function Collapse BPLibrary

Set All Contributions

Set the contribution values of key objects to a given value

Target is Wave Function Collapse Model

Set All Weights

Set the weights of key objects to a given value

Target is Wave Function Collapse Model

Set Option Contribution

Set the contribution value of a key object to a given value

Target is Wave Function Collapse Model

Set Weights from Contributions

Set the weights of key objects based on their contribution values

Target is Wave Function Collapse Model

Swap Meshes

Swap meshes in the model with other meshes based on a map. This is useful when working with template meshes that need to be swapped.

Target is Wave Function Collapse Model