C# Класс StdPaint.Mesh

Represents a collection of triangles in 3D space.
Наследование: Renderable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
CheckRegex ( string input, string pattern, Match &match ) : bool

Описание методов

FromOBJ() публичный статический Метод

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.
Результат Mesh

Mesh() публичный Метод

Creates a new Mesh from a triangle array.
public Mesh ( Triangle3f triangles ) : System
triangles Triangle3f The triangle array to make the mesh out of.
Результат System