Voxel toolkit
The toolkit that lets you easily import .vox assets and have runtime API
Loading...
Searching...
No Matches
VoxelToolkit.Voxel Struct Reference

The voxel data type. More...

Inheritance diagram for VoxelToolkit.Voxel:

Public Member Functions

 Voxel (byte material)
 
 Voxel (VoxelKind voxelKind, byte material)
 
bool Equals (Voxel other)
 Compares two voxels.
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Public Attributes

readonly VoxelKind VoxelKind
 The kind of the voxel.
 
readonly byte Material
 The material of the voxel.
 

Detailed Description

The voxel data type.

Member Function Documentation

◆ Equals()

bool VoxelToolkit.Voxel.Equals ( Voxel  other)

Compares two voxels.

Parameters
otherThe second voxel to compare with
Returns
Returns true if voxels are identical

The documentation for this struct was generated from the following file: