C# Class NinePatchSample.NinePatch.NinePatchSpriteAtlas

Inheritance: NinePatchBase
Exibir arquivo Open project: WaveEngine/Samples

Private Properties

Property Type Description
RefreshSourceRectangle void
RefreshTextureIndex void

Protected Methods

Method Description
Initialize ( ) : void
InternalLoadTexture ( string &textureId, Texture2D &sourceTexture, Rectangle &sourceRecangle ) : void
InternalUnloadTexture ( ) : void

Private Methods

Method Description
RefreshSourceRectangle ( bool refreshInnerTexture ) : void

Refresh the source rectangle of the sprite transform 2D.

RefreshTextureIndex ( bool refreshInnerTexture ) : void

Refresh texture index from its name

Method Details

Initialize() protected method

protected Initialize ( ) : void
return void

InternalLoadTexture() protected method

protected InternalLoadTexture ( string &textureId, Texture2D &sourceTexture, Rectangle &sourceRecangle ) : void
textureId string
sourceTexture Texture2D
sourceRecangle Rectangle
return void

InternalUnloadTexture() protected method

protected InternalUnloadTexture ( ) : void
return void