C# Класс Revise.Files.ZMS.ModelFile

Provides the ability to create, open and save ZMS files used for models.
Наследование: FileLoader
Показать файл Открыть проект Примеры использования класса

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

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