C# Class Files.IFF.SPR

This chunk type holds a number of paletted sprites that share a common color palette and lack z-buffers and alpha buffers. SPR# chunks can be either big-endian or little-endian, which must be determined by comparing the first two bytes to zero (since no version number uses more than two bytes).
Inheritance: IFFChunk
Afficher le fichier Open project: Afr0Games/Project-Dollhouse Class Usage Examples

Méthodes publiques

Свойство Type Description
Version uint
Version1 ushort

Méthodes publiques

Méthode Description
SPR ( IFFChunk BaseChunk ) : System
this ( int Key ) : SPRFrame

Gets a specific sprite.

Private Methods

Méthode Description
GetSprite ( int ID, PALT Palette ) : SPRFrame

Method Details

SPR() public méthode

public SPR ( IFFChunk BaseChunk ) : System
BaseChunk IFFChunk
Résultat System

this() public méthode

Gets a specific sprite.
public this ( int Key ) : SPRFrame
Key int The ID of the sprite to get.
Résultat SPRFrame

Property Details

Version public_oe property

public uint Version
Résultat uint

Version1 public_oe property

public ushort Version1
Résultat ushort