Struct ObjFile.Face
- Namespace
- NeoVeldrid.Utilities
- Assembly
- NeoVeldrid.Utilities.dll
An OBJ file construct describing an individual mesh face.
public struct ObjFile.Face
- Inherited Members
Constructors
Face(FaceVertex, FaceVertex, FaceVertex, int)
public Face(ObjFile.FaceVertex v0, ObjFile.FaceVertex v1, ObjFile.FaceVertex v2, int smoothingGroup = -1)
Parameters
v0ObjFile.FaceVertexv1ObjFile.FaceVertexv2ObjFile.FaceVertexsmoothingGroupint
Fields
SmoothingGroup
The smoothing group. Describes which kind of vertex smoothing should be applied.
public readonly int SmoothingGroup
Field Value
Vertex0
The first vertex.
public readonly ObjFile.FaceVertex Vertex0
Field Value
Vertex1
The second vertex.
public readonly ObjFile.FaceVertex Vertex1
Field Value
Vertex2
The third vertex.
public readonly ObjFile.FaceVertex Vertex2