C# Class Alexandria.Engines.DarkSouls.ModelVertexAttribute

A channel in a ModelVertexDeclaration.
Inheritance: ModelAsset
ファイルを表示 Open project: Burton-Radons/Alexandria

Public Methods

Method Description
MatchAttribute ( ModelProgram program ) : ProgramAttribute

Get the ProgramAttribute this should bind to, or null if there is none.

Read ( BinaryReader reader, int &offset ) : Vector4f

Read the attribute.

ToString ( ) : string

Get a string representation of the object.

Private Methods

Method Description
ModelVertexAttribute ( ModelVertexDeclaration declaration, AssetLoader loader, int index ) : System

Method Details

MatchAttribute() public method

Get the ProgramAttribute this should bind to, or null if there is none.
public MatchAttribute ( ModelProgram program ) : ProgramAttribute
program ModelProgram
return ProgramAttribute

Read() public method

Read the attribute.
public Read ( BinaryReader reader, int &offset ) : Vector4f
reader System.IO.BinaryReader
offset int
return Vector4f

ToString() public method

Get a string representation of the object.
public ToString ( ) : string
return string