Table of Contents

Struct GridVoxelSet

Namespace
GridForge
Assembly
GridForge.dll

Groups the matching voxels for one grid.

public readonly struct GridVoxelSet
Inherited Members

Remarks

Query iterators lend pooled Voxels lists until their enumeration completes or is disposed. Consume them inside the enumeration, or copy the contents into caller-owned storage before retaining results.

Constructors

GridVoxelSet(VoxelGrid, SwiftList<Voxel>)

Initializes a new grouped grid query result.

public GridVoxelSet(VoxelGrid grid, SwiftList<Voxel> voxels)

Parameters

grid VoxelGrid

The grid containing the matching voxels.

voxels SwiftList<Voxel>

The matching voxels for the grid.

Fields

Grid

The grid containing the voxels from the resulting query

public readonly VoxelGrid Grid

Field Value

VoxelGrid

Voxels

A list of voxels that match the provided query

public readonly SwiftList<Voxel> Voxels

Field Value

SwiftList<Voxel>