C# Class SAModelLibrary.GeometryFormats.Chunk.StripChunk

Base class for all generic strip chunks with indices of type TIndex.
Inheritance: StripChunkBase
Afficher le fichier Open project: TGEnigma/SAModelTools Class Usage Examples

Méthodes publiques

Méthode Description
ToTriangles ( ) : TIndex[]

Utility function to convert the triangle strip indices into triangle indices.

Méthodes protégées

Méthode Description
GetFlags ( ) : byte
ReadStripIndex ( EndianBinaryReader reader, &index ) : void
WriteStripIndex ( EndianBinaryWriter writer, &index ) : void

Private Methods

Méthode Description
ReadBody ( int size, byte flags, EndianBinaryReader reader ) : void
WriteBody ( EndianBinaryWriter writer ) : void

Method Details

GetFlags() protected méthode

protected GetFlags ( ) : byte
Résultat byte

ReadStripIndex() protected abstract méthode

protected abstract ReadStripIndex ( EndianBinaryReader reader, &index ) : void
reader EndianBinaryReader
Résultat void

ToTriangles() public méthode

Utility function to convert the triangle strip indices into triangle indices.
public ToTriangles ( ) : TIndex[]
Résultat TIndex[]

WriteStripIndex() protected abstract méthode

protected abstract WriteStripIndex ( EndianBinaryWriter writer, &index ) : void
writer EndianBinaryWriter
Résultat void