C# 클래스 MeshExplorer.IO.FileProcessor

Provides static methods to read and write mesh files.
파일 보기 프로젝트 열기: RegrowthStudios/VoxelRTS

공개 메소드들

메소드 설명
CanHandleFile ( string path ) : bool
ContainsMeshData ( string path ) : bool

Returns true, if the given file contains mesh information.

Import ( string path ) : Mesh

Read a mesh from given file.

Read ( string path ) : InputGeometry

Read an input geometry from given file.

Save ( string path, Mesh mesh ) : void

Save the current mesh to given file.

비공개 메소드들

메소드 설명
CreateProviderInstance ( string ext ) : IMeshFile
GetProviderInstance ( string path ) : IMeshFile

메소드 상세

CanHandleFile() 공개 정적인 메소드

public static CanHandleFile ( string path ) : bool
path string
리턴 bool

ContainsMeshData() 공개 정적인 메소드

Returns true, if the given file contains mesh information.
public static ContainsMeshData ( string path ) : bool
path string
리턴 bool

Import() 공개 정적인 메소드

Read a mesh from given file.
public static Import ( string path ) : Mesh
path string
리턴 TriangleNet.Mesh

Read() 공개 정적인 메소드

Read an input geometry from given file.
public static Read ( string path ) : InputGeometry
path string
리턴 TriangleNet.Geometry.InputGeometry

Save() 공개 정적인 메소드

Save the current mesh to given file.
public static Save ( string path, Mesh mesh ) : void
path string
mesh TriangleNet.Mesh
리턴 void