Class IrregularVoxelGrid
A 3D grid of voxels that can be either "filled" or "empty".
Not necessarily square, this can take any form.
Inheritance
System.Object
IrregularVoxelGrid
Syntax
public class IrregularVoxelGrid : VoxelGridAsset, IVoxelGrid
Properties
Voxels
Declaration
public override IReadOnlyList<IVoxelGrid.Voxel> Voxels { get; }
Property Value
Overrides
Methods
GetVoxel(Int32)
Declaration
public override IVoxelGrid.Voxel GetVoxel(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Overrides
SetVoxelContents(Int32, Int32)
Declaration
public override void SetVoxelContents(int index, int newContents)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
newContents |
|
Overrides
Visit(IVoxelGridVisitor)
Declaration
public override void Visit(IVoxelGridVisitor visitor)
Parameters
Overrides
Implements