C# Class NinePatchSample.NinePatch.NinePatchSpriteAtlas

Inheritance: NinePatchBase
Afficher le fichier Open project: WaveEngine/Samples

Private Properties

Свойство Type Description
RefreshSourceRectangle void
RefreshTextureIndex void

Méthodes protégées

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

Private Methods

Méthode 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 méthode

protected Initialize ( ) : void
Résultat void

InternalLoadTexture() protected méthode

protected InternalLoadTexture ( string &textureId, Texture2D &sourceTexture, Rectangle &sourceRecangle ) : void
textureId string
sourceTexture Texture2D
sourceRecangle Rectangle
Résultat void

InternalUnloadTexture() protected méthode

protected InternalUnloadTexture ( ) : void
Résultat void