C# 클래스 NinePatchSample.NinePatch.NinePatchBase

상속: Component
파일 보기 프로젝트 열기: WaveEngine/Samples

보호된 프로퍼티들

프로퍼티 타입 설명
disposed bool

Private Properties

프로퍼티 타입 설명
InitMaterial void
LoadTexture void
RefreshTexture void
UnloadTexture void
UpdateNinePatchData void
UpdateTransformRectangleSize void

공개 메소드들

메소드 설명
Dispose ( ) : void

Releases unmanaged and - optionally - managed resources.

보호된 메소드들

메소드 설명
DefaultValues ( ) : void

The default values

Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Initialize ( ) : void

Performs further custom initialization for this instance.

InternalLoadTexture ( string &textureId, Texture2D &sourceTexture, Rectangle &sourceRecangle ) : void
InternalUnloadTexture ( ) : void
RefreshInnerTexture ( string textureId, Texture2D sourceTexture, Rectangle sourceRecangle ) : void

비공개 메소드들

메소드 설명
InitMaterial ( ) : void

Init material

LoadTexture ( ) : void
RefreshTexture ( ) : void

Refresh the sprite texture

UnloadTexture ( bool innerTextureOnly = false ) : void

Unload texture

UpdateNinePatchData ( string textureId, Texture sourceTexture, Rectangle sourceRectangle ) : void

Updates the strechable rectangles and inner texture.

UpdateTransformRectangleSize ( ) : void

Updates the size of the transform's rectangle.

메소드 상세

DefaultValues() 보호된 메소드

The default values
protected DefaultValues ( ) : void
리턴 void

Dispose() 공개 메소드

Releases unmanaged and - optionally - managed resources.
public Dispose ( ) : void
리턴 void

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

Initialize() 보호된 메소드

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

InternalLoadTexture() 보호된 추상적인 메소드

protected abstract InternalLoadTexture ( string &textureId, Texture2D &sourceTexture, Rectangle &sourceRecangle ) : void
textureId string
sourceTexture Texture2D
sourceRecangle Rectangle
리턴 void

InternalUnloadTexture() 보호된 추상적인 메소드

protected abstract InternalUnloadTexture ( ) : void
리턴 void

RefreshInnerTexture() 보호된 메소드

protected RefreshInnerTexture ( string textureId, Texture2D sourceTexture, Rectangle sourceRecangle ) : void
textureId string
sourceTexture Texture2D
sourceRecangle Rectangle
리턴 void

프로퍼티 상세

disposed 보호되어 있는 프로퍼티

The disposed
protected bool disposed
리턴 bool