Instance Propertyheckj.voxels 0.2.6Voxels
bounds
VoxelHash.swift:6var bounds: VoxelBounds
var bounds: VoxelBounds
import Voxels
A Swift library for storage, manipulation, export, and 3D rendering of Voxel data.
struct VoxelHash<T> where T : Sendable
A collection of voxels backed by a hash table.
struct VoxelBounds
The coordinate bounds of a set of voxels.
init()
init(_ otherVoxels: VoxelHash<T>, defaultVoxel: T)
init(bounds: VoxelBounds)
init(defaultVoxel: T)
var count: Int { get }
subscript(index: VoxelIndex) -> T? { get set }
mutating func set(_ vi: VoxelIndex, newValue: T?)
mutating func set(_ vi: VoxelIndex, newValue: T)
mutating func set(_ vis: [VoxelIndex], newValue: T?)
func value(_ vi: VoxelIndex) -> T?