C# 클래스 Revise.Files.ZMS.ModelFile

Provides the ability to create, open and save ZMS files used for models.
상속: FileLoader
파일 보기 프로젝트 열기: osROSE/UnityRose 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( ) : void

Clears all vertices, indices, bone tables, materials and strips.

Load ( Stream stream ) : void

Loads the file from the specified stream.

ModelFile ( ) : System.Collections.Generic

Initializes a new instance of the ModelFile class.

Reset ( ) : void

Resets properties to their default values.

Save ( Stream stream ) : void

Saves the file to the specified stream.

비공개 메소드들

메소드 설명
CheckFlag ( VertexFormat flag ) : bool

Checks the flag against the vertex format.

SetFlag ( VertexFormat flag, bool enabled ) : void

Enables the flag on the vertex format.

메소드 상세

Clear() 공개 메소드

Clears all vertices, indices, bone tables, materials and strips.
public Clear ( ) : void
리턴 void

Load() 공개 메소드

Loads the file from the specified stream.
public Load ( Stream stream ) : void
stream System.IO.Stream The stream to read from.
리턴 void

ModelFile() 공개 메소드

Initializes a new instance of the ModelFile class.
public ModelFile ( ) : System.Collections.Generic
리턴 System.Collections.Generic

Reset() 공개 메소드

Resets properties to their default values.
public Reset ( ) : void
리턴 void

Save() 공개 메소드

Saves the file to the specified stream.
public Save ( Stream stream ) : void
stream System.IO.Stream The stream to save to.
리턴 void