C# Class StdPaint.Mesh

Represents a collection of triangles in 3D space.
Inheritance: Renderable
Afficher le fichier Open project: TheBerkin/StdPaint Class Usage Examples

Méthodes publiques

Méthode Description
FromOBJ ( string file ) : Mesh

Loads vertex data from an OBJ model file and creates a Mesh object out of it. Almost like magic.

Mesh ( Triangle3f triangles ) : System

Creates a new Mesh from a triangle array.

Private Methods

Méthode Description
CheckRegex ( string input, string pattern, Match &match ) : bool

Method Details

FromOBJ() public static méthode

Loads vertex data from an OBJ model file and creates a Mesh object out of it. Almost like magic.
public static FromOBJ ( string file ) : Mesh
file string The path to the file to load.
Résultat Mesh

Mesh() public méthode

Creates a new Mesh from a triangle array.
public Mesh ( Triangle3f triangles ) : System
triangles Triangle3f The triangle array to make the mesh out of.
Résultat System