Required Instance Methodheckj.voxels 0.2.6Voxels

value(_:)

Returns the voxel at the index you provide.

VoxelAccessible.swift:6
func value(_: VoxelIndex) throws -> Element?

Returns

The voxel contents, or an error if outside of index bounds.

  • Parameter : The voxel index