C# 클래스 StdPaint.Mesh

Represents a collection of triangles in 3D space.
상속: Renderable
파일 보기 프로젝트 열기: TheBerkin/StdPaint 1 사용 예제들

공개 메소드들

메소드 설명
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