C# 클래스 WaveEngine.Components.UI.ImageAtlas

The image atlas.
상속: Control
파일 보기 프로젝트 열기: WaveEngine/Components 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SourceRectangle Rectangle

보호된 프로퍼티들

프로퍼티 타입 설명
disposed bool
isGlobalAsset bool

공개 메소드들

메소드 설명
ImageAtlas ( string atlasPath, string textureName ) : System

Initializes a new instance of the ImageAtlas class.

보호된 메소드들

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

Releases unmanaged and - optionally - managed resources

Initialize ( ) : void

Performs further custom initialization for this instance.

UpdateSourceRectangle ( ) : void

Updates the source rectangle.

메소드 상세

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

ImageAtlas() 공개 메소드

Initializes a new instance of the ImageAtlas class.
TexturePath can not be null.
public ImageAtlas ( string atlasPath, string textureName ) : System
atlasPath string The atlas path.
textureName string Name of the texture.
리턴 System

Initialize() 보호된 메소드

Performs further custom initialization for this instance.
protected Initialize ( ) : void
리턴 void

UpdateSourceRectangle() 보호된 메소드

Updates the source rectangle.
ImageAtlas has been disposed.
protected UpdateSourceRectangle ( ) : void
리턴 void

프로퍼티 상세

SourceRectangle 공개적으로 프로퍼티

The source rectangle.
public Rectangle SourceRectangle
리턴 Rectangle

disposed 보호되어 있는 프로퍼티

The disposed
protected bool disposed
리턴 bool

isGlobalAsset 보호되어 있는 프로퍼티

The is global asset.
protected bool isGlobalAsset
리턴 bool