C# Class PsmFramework.Engines.DrawEngine2d.TiledTextures.TiledTexture

Inheritance: IDisposablePlus
Afficher le fichier Open project: artwallace/PsmFramework Class Usage Examples

Méthodes publiques

Méthode Description
CreateColumnIndex ( Int32 columns = ColumnIndex.DefaultColumns, String name = ColumnIndex.DefaultName ) : ColumnIndex
CreateGridIndex ( Int32 columns = GridIndex.DefaultColumns, Int32 rows = GridIndex.DefaultRows, String name = GridIndex.DefaultName ) : GridIndex
Dispose ( ) : void
GetTextureCoordinates ( Int32 column ) : System.Single[]
GetTextureCoordinates ( Int32 column, Int32 row ) : System.Single[]
GetTextureCoordinates ( String tileName ) : System.Single[]
GetTextureCoordinates ( String name, Int32 column ) : System.Single[]
GetTextureCoordinates ( String name, Int32 column, Int32 row ) : System.Single[]
GetTextureCoordinates ( String name, String tileName ) : System.Single[]

Private Methods

Méthode Description
AddIndex ( IndexBase index ) : void
Cleanup ( ) : void
CleanupIndexes ( ) : void
CleanupKey ( ) : void
CleanupTexture2d ( ) : void
CleanupTiledTextureManager ( ) : void
Initialize ( TiledTextureManager tileMgr, String key, Texture2dPlus texture, TextureCachePolicy cachePolicy ) : void
Initialize ( TiledTextureManager tileMgr, String path, TextureCachePolicy cachePolicy ) : void
InitializeIndexes ( ) : void
InitializeKey ( String key, TextureCachePolicy cachePolicy ) : void
InitializeTexture2d ( String path ) : void
InitializeTexture2d ( Texture2dPlus texture ) : void
InitializeTiledTextureManager ( TiledTextureManager tileMgr ) : void
RegisterAsUserOfTexture2d ( ) : void
RemoveIndex ( String name ) : void
TiledTexture ( TiledTextureManager tileMgr, String key, Texture2dPlus texture, TextureCachePolicy cachePolicy = TextureCachePolicy.DisposeAfterLastUse ) : System
TiledTexture ( TiledTextureManager tileMgr, String path, TextureCachePolicy cachePolicy = TextureCachePolicy.DisposeAfterLastUse ) : System
UnregisterAsUserOfTexture2d ( ) : void

Method Details

CreateColumnIndex() public méthode

public CreateColumnIndex ( Int32 columns = ColumnIndex.DefaultColumns, String name = ColumnIndex.DefaultName ) : ColumnIndex
columns System.Int32
name String
Résultat ColumnIndex

CreateGridIndex() public méthode

public CreateGridIndex ( Int32 columns = GridIndex.DefaultColumns, Int32 rows = GridIndex.DefaultRows, String name = GridIndex.DefaultName ) : GridIndex
columns System.Int32
rows System.Int32
name String
Résultat GridIndex

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetTextureCoordinates() public méthode

public GetTextureCoordinates ( Int32 column ) : System.Single[]
column System.Int32
Résultat System.Single[]

GetTextureCoordinates() public méthode

public GetTextureCoordinates ( Int32 column, Int32 row ) : System.Single[]
column System.Int32
row System.Int32
Résultat System.Single[]

GetTextureCoordinates() public méthode

public GetTextureCoordinates ( String tileName ) : System.Single[]
tileName String
Résultat System.Single[]

GetTextureCoordinates() public méthode

public GetTextureCoordinates ( String name, Int32 column ) : System.Single[]
name String
column System.Int32
Résultat System.Single[]

GetTextureCoordinates() public méthode

public GetTextureCoordinates ( String name, Int32 column, Int32 row ) : System.Single[]
name String
column System.Int32
row System.Int32
Résultat System.Single[]

GetTextureCoordinates() public méthode

public GetTextureCoordinates ( String name, String tileName ) : System.Single[]
name String
tileName String
Résultat System.Single[]