Skip to content

CellCompute

Namespace: Hex1b.Surfaces

Assembly: Hex1b.dll

Delegate for computing a cell value dynamically.

csharp
public delegate SurfaceCell CellCompute(ComputeContext context)

Remarks

Computed cells are evaluated lazily during or when accessing cells via .

The delegate receives a that provides access to the cell's position, cells from layers below, and adjacent cells.

Released under the MIT License.