C# 클래스 FSO.Files.Formats.IFF.Chunks.SPRFrame

The frame (I.E sprite) of a SPR chunk.
상속: ITextureProvider
파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DEFAULT_PALT PALT
Version uint

공개 메소드들

메소드 설명
DecodeIfRequired ( ) : void
GetPixel ( int x, int y ) : Color
GetTexture ( GraphicsDevice device ) : Microsoft.Xna.Framework.Graphics.Texture2D
Read ( uint version, IoBuffer io, uint guessedSize ) : void

Reads a SPRFrame from a stream.

ReadDeferred ( uint version, IoBuffer io ) : void
SPRFrame ( SPR parent ) : System

Constructs a new SPRFrame instance.

SetPixel ( int x, int y, Color color ) : void

보호된 메소드들

메소드 설명
Init ( int width, int height ) : void

비공개 메소드들

메소드 설명
Decode ( IoBuffer io ) : void

Decodes this SPRFrame.

메소드 상세

DecodeIfRequired() 공개 메소드

public DecodeIfRequired ( ) : void
리턴 void

GetPixel() 공개 메소드

public GetPixel ( int x, int y ) : Color
x int
y int
리턴 Color

GetTexture() 공개 메소드

public GetTexture ( GraphicsDevice device ) : Microsoft.Xna.Framework.Graphics.Texture2D
device GraphicsDevice
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

Init() 보호된 메소드

protected Init ( int width, int height ) : void
width int
height int
리턴 void

Read() 공개 메소드

Reads a SPRFrame from a stream.
public Read ( uint version, IoBuffer io, uint guessedSize ) : void
version uint
io FSO.Files.Utils.IoBuffer
guessedSize uint
리턴 void

ReadDeferred() 공개 메소드

public ReadDeferred ( uint version, IoBuffer io ) : void
version uint
io FSO.Files.Utils.IoBuffer
리턴 void

SPRFrame() 공개 메소드

Constructs a new SPRFrame instance.
public SPRFrame ( SPR parent ) : System
parent SPR A SPR parent.
리턴 System

SetPixel() 공개 메소드

public SetPixel ( int x, int y, Color color ) : void
x int
y int
color Color
리턴 void

프로퍼티 상세

DEFAULT_PALT 공개적으로 정적으로 프로퍼티

public static PALT,FSO.Files.Formats.IFF.Chunks DEFAULT_PALT
리턴 PALT

Version 공개적으로 프로퍼티

public uint Version
리턴 uint