Class OBJMesh
Represents a mesh structure in an OBJ file, containing indices, face vertex counts, material IDs, and smoothing group IDs.
Namespace: Evergine.Runtimes.OBJ.DataTypes
Assembly: Evergine.Runtimes.OBJ.dll
Syntax
public class OBJMesh
Fields
Indices
Gets or sets the list of indices used in the mesh. Each index represents a combination of vertex, normal, and texture coordinate indices.
Declaration
public List<OBJIndex> Indices
Field Value
| Type | Description |
|---|---|
| List<OBJIndex> |
MaterialIds
Gets or sets the material IDs for each face in the mesh.
Declaration
public List<int> MaterialIds
Field Value
| Type | Description |
|---|---|
| List<int> |
NumFaceVertices
Gets or sets the number of vertices per face in the mesh.
Declaration
public List<uint> NumFaceVertices
Field Value
| Type | Description |
|---|---|
| List<uint> |
SmoothingGroupIds
Gets or sets the smoothing group IDs for each face in the mesh.
Declaration
public List<uint> SmoothingGroupIds
Field Value
| Type | Description |
|---|---|
| List<uint> |