Class ObjRoot

ObjRoot class

Represents root information for OBJ drawing. ObjRoot contains data about vertices, materials, and shapes. Each shape contains information about set of faces with corresponding material, vertex, texture, and normal indices.

public class ObjRoot

Constructors

NameDescription
ObjRoot()Initializes a new instance of the class.

Properties

NameDescription
Materials { get; set; }Gets or sets the materials.
Shapes { get; set; }Gets or sets the shapes.
Vertices { get; set; }Gets or sets the vertices.

Methods

NameDescription
AddVertex(ObjVertex)Add vertex.

See Also