Struct Slot.SourceVoxels
Stores the voxel indices that define this slot's corner contents.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Syntax
public struct SourceVoxels
Constructors
SourceVoxels(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Declaration
public SourceVoxels(int voxel000Index, int voxel001Index, int voxel010Index, int voxel011Index, int voxel100Index, int voxel101Index, int voxel110Index, int voxel111Index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
voxel000Index |
|
| System.Int32 |
voxel001Index |
|
| System.Int32 |
voxel010Index |
|
| System.Int32 |
voxel011Index |
|
| System.Int32 |
voxel100Index |
|
| System.Int32 |
voxel101Index |
|
| System.Int32 |
voxel110Index |
|
| System.Int32 |
voxel111Index |
|
Fields
voxel000Index
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
voxel001Index
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
voxel010Index
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
voxel011Index
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
voxel100Index
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
voxel101Index
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
voxel110Index
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
voxel111Index
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
Properties
Indices
Easy access to all source voxel indices. This is intended to be used to construct the map of voxels to their dependent slots.
Declaration
public readonly IEnumerable<int> Indices { get; }
Property Value
| Type |
Description |
| System.Collections.Generic.IEnumerable<System.Int32> |
|