C# Class FSO.Files.Formats.IFF.Chunks.SPR2

This chunk type holds a number of paletted sprites that may have z-buffer and/or alpha channels.
Inheritance: IffChunk
显示文件 Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
DefaultPaletteID uint
Frames FSO.Files.Formats.IFF.Chunks.SPR2Frame[]

Public Methods

Method Description
Dispose ( ) : void
Read ( IffFile iff, Stream stream ) : void

Reads a SPR2 chunk from a stream.

Write ( IffFile iff, Stream stream ) : bool

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Read() public method

Reads a SPR2 chunk from a stream.
public Read ( IffFile iff, Stream stream ) : void
iff IffFile An Iff instance.
stream Stream A Stream object holding a SPR2 chunk.
return void

Write() public method

public Write ( IffFile iff, Stream stream ) : bool
iff IffFile
stream Stream
return bool

Property Details

DefaultPaletteID public_oe property

public uint DefaultPaletteID
return uint

Frames public_oe property

public SPR2Frame[],FSO.Files.Formats.IFF.Chunks Frames
return FSO.Files.Formats.IFF.Chunks.SPR2Frame[]