C# 클래스 HoloToolkit.Unity.MeshSaver

MeshSaver is a static class containing methods used for saving and loading meshes.
파일 보기 프로젝트 열기: Microsoft/HoloToolkit-Unity 1 사용 예제들

공개 메소드들

메소드 설명
Load ( string fileName ) : IEnumerable

Loads the specified mesh file.

Determines the path from which to load and automatically applies the file extension.

Save ( string fileName, IEnumerable meshes ) : string

Saves the provided meshes to the specified file.

Determines the save path to use and automatically applies the file extension.

비공개 메소드들

메소드 설명
OpenFileForRead ( string folderName, string fileName ) : Stream

Opens the specified file for reading.

OpenFileForWrite ( string folderName, string fileName ) : Stream

Opens the specified file for writing.

If the specified file already exists, it will be overwritten.

메소드 상세

Load() 공개 정적인 메소드

Loads the specified mesh file.
Determines the path from which to load and automatically applies the file extension.
public static Load ( string fileName ) : IEnumerable
fileName string Name of the saved mesh file. Exclude path and extension.
리턴 IEnumerable

Save() 공개 정적인 메소드

Saves the provided meshes to the specified file.
Determines the save path to use and automatically applies the file extension.
public static Save ( string fileName, IEnumerable meshes ) : string
fileName string Name to give the saved mesh file. Exclude path and extension.
meshes IEnumerable The collection of Mesh objects to save.
리턴 string