Search Results for

    Show / Hide Table of Contents

    Struct VoxelMesher.FaceData

    This struct describes the voxel coordinates for a voxel face.

    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 FaceData

    Fields

    faceIndices

    Indices into the faceVertices array that can be used to reconstruct this face e.g. for level editor highlights

    Declaration
    public int[] faceIndices
    Field Value
    Type Description
    System.Int32[]

    faceVertices

    Vertices that can be used to reconstruct this face e.g. for level editor highlights

    Declaration
    public VoxelMesher.Vertex[] faceVertices
    Field Value
    Type Description
    VoxelMesher.Vertex[]

    facingVoxelIndex

    The coordinate for the voxel in front of this face. Should be set if you want to extrude this voxel face.

    Declaration
    public int facingVoxelIndex
    Field Value
    Type Description
    System.Int32

    voxelIndex

    The coordinate for the voxel behind this face. Should be cleared if you want to carve out this voxel face.

    Declaration
    public int voxelIndex
    Field Value
    Type Description
    System.Int32
    In This Article
    Generated by DocFX Wildtile Documentation