C# Класс PsmFramework.Engines.DrawEngine2d.TiledTextures.TiledTexture

Наследование: IDisposablePlus
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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[]

Приватные методы

Метод Описание
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

Описание методов

CreateColumnIndex() публичный Метод

public CreateColumnIndex ( Int32 columns = ColumnIndex.DefaultColumns, String name = ColumnIndex.DefaultName ) : ColumnIndex
columns System.Int32
name String
Результат ColumnIndex

CreateGridIndex() публичный Метод

public CreateGridIndex ( Int32 columns = GridIndex.DefaultColumns, Int32 rows = GridIndex.DefaultRows, String name = GridIndex.DefaultName ) : GridIndex
columns System.Int32
rows System.Int32
name String
Результат GridIndex

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

GetTextureCoordinates() публичный Метод

public GetTextureCoordinates ( Int32 column ) : System.Single[]
column System.Int32
Результат System.Single[]

GetTextureCoordinates() публичный Метод

public GetTextureCoordinates ( Int32 column, Int32 row ) : System.Single[]
column System.Int32
row System.Int32
Результат System.Single[]

GetTextureCoordinates() публичный Метод

public GetTextureCoordinates ( String tileName ) : System.Single[]
tileName String
Результат System.Single[]

GetTextureCoordinates() публичный Метод

public GetTextureCoordinates ( String name, Int32 column ) : System.Single[]
name String
column System.Int32
Результат System.Single[]

GetTextureCoordinates() публичный Метод

public GetTextureCoordinates ( String name, Int32 column, Int32 row ) : System.Single[]
name String
column System.Int32
row System.Int32
Результат System.Single[]

GetTextureCoordinates() публичный Метод

public GetTextureCoordinates ( String name, String tileName ) : System.Single[]
name String
tileName String
Результат System.Single[]