C# 클래스 Files.IFF.SPR2Frame

상속: IDisposable
파일 보기 프로젝트 열기: Afr0Games/Project-Dollhouse 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
HasZBuffer bool
Texture Microsoft.Xna.Framework.Graphics.Texture2D
TransparentColor Color
Width ushort
XLocation ushort
YLocation ushort
ZBuffer byte[]

공개 메소드들

메소드 설명
Dispose ( ) : void
SPR2Frame ( FileReader Reader, GraphicsDevice Device, PALT Palette, uint SpriteVersion ) : System

보호된 메소드들

메소드 설명
Dispose ( bool CleanUpManagedResources ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool CleanUpManagedResources ) : void
CleanUpManagedResources bool
리턴 void

SPR2Frame() 공개 메소드

public SPR2Frame ( FileReader Reader, GraphicsDevice Device, PALT Palette, uint SpriteVersion ) : System
Reader System.IO.FileReader
Device GraphicsDevice
Palette PALT
SpriteVersion uint
리턴 System

프로퍼티 상세

HasZBuffer 공개적으로 프로퍼티

public bool HasZBuffer
리턴 bool

Texture 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics Texture
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

TransparentColor 공개적으로 프로퍼티

A 2-byte unsigned integer specifying the color index in this sprite's color palette that was used for pixels that are now fully transparent; furthermore, any pixels in the color channel defined with this color that were not given an alpha value must be assigned an opacity of zero and a z-buffer value of 255 (if the z-buffer channel is specified).
public Color TransparentColor
리턴 Color

Width 공개적으로 프로퍼티

public ushort Width
리턴 ushort

XLocation 공개적으로 프로퍼티

A 2-byte signed integer specifying the offset to add to the Y direction in order to align this sprite correctly, in the case of multi-tile objects.
public ushort XLocation
리턴 ushort

YLocation 공개적으로 프로퍼티

A 2-byte signed integer specifying the offset to add to the Y direction in order to align this sprite correctly, in the case of multi-tile objects.
public ushort YLocation
리턴 ushort

ZBuffer 공개적으로 프로퍼티

public byte[] ZBuffer
리턴 byte[]