Struct VoxelMesher.GeneratedMesh
Contains the output of a call to CreateAndGenerateMesh(VoxelGrid, Vector3, Vector3Int, Vector3Int).
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()
Namespace: CarbideFunction.Wildtile
Syntax
public struct GeneratedMesh
Fields
mesh
A mesh containing the surface of a cuboid tile map in submesh 0 and the outer boundary of the map in submesh 1.
Declaration
public Mesh mesh
Field Value
Type | Description |
---|---|
Mesh |
trianglesToFaceData
A list which contains the same number of items as triangles in the mesh. Each triangle's index can be used to lookup in this list and get the coordinate behind the face and in front of the face.
Declaration
public List<VoxelMesher.FaceData> trianglesToFaceData
Field Value
Type | Description |
---|---|
List<VoxelMesher.FaceData> |