C# Class Alexandria.Engines.DarkSouls.ModelMesh

A mesh in a Model. This is composed of a set of ModelDetailLevels as detail levels.
Inheritance: ModelAsset
Show file Open project: Burton-Radons/Alexandria Class Usage Examples

Private Properties

Property Type Description
ModelMesh System
ReadDetailLevels void
ReadVertexHeaders void

Public Methods

Method Description
Draw ( ModelDrawContext context ) : void

Draw the ModelMesh.

ToString ( ) : string

Convert to a string representation.

Private Methods

Method Description
ModelMesh ( FolderAsset folder, int index, AssetLoader loader ) : System
ReadDetailLevels ( AssetLoader loader, int dataOffset, ArrayBackedList bufferData ) : void
ReadVertexHeaders ( BinaryReader reader, int dataOffset, ArrayBackedList bufferData ) : void

Method Details

Draw() public method

Draw the ModelMesh.
public Draw ( ModelDrawContext context ) : void
context ModelDrawContext
return void

ToString() public method

Convert to a string representation.
public ToString ( ) : string
return string