Class LayerPlaneData
Inheritance
LayerPlaneData
Syntax
public class LayerPlaneData
Constructors
LayerPlaneData(PlaneVoxel)
Declaration
protected LayerPlaneData(PlaneVoxel startingVoxel)
Parameters
Fields
CrossLayer
Is this plane included in the layer above it due to a cross-layer merge?
Declaration
Field Value
Vertices
XZ vertices of the plane, relative to the layer origin
Declaration
public readonly List<Vector3> Vertices
Field Value
Type |
Description |
List<Vector3> |
|
Voxels
Coordinates of voxels that contribute to this plane
Declaration
public readonly HashSet<Vector2Int> Voxels
Field Value
Type |
Description |
HashSet<Vector2Int> |
|
YOffsetFromLayer
Y offset of the plane, relative to the layer origin
Declaration
public float YOffsetFromLayer
Field Value
Methods
AddVoxel(PlaneVoxel)
Declaration
public void AddVoxel(PlaneVoxel voxel)
Parameters
GetOrCreate(PlaneVoxel)
Declaration
public static LayerPlaneData GetOrCreate(PlaneVoxel startingVoxel)
Parameters
Returns