C# Класс Spine.Atlas

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

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

Метод Описание
Atlas ( List pages, List regions ) : System
Atlas ( String path, TextureLoader textureLoader ) : System
Atlas ( TextReader reader, String dir, TextureLoader textureLoader ) : System
Dispose ( ) : void
FindRegion ( String name ) : AtlasRegion

Returns the first region found with the specified name. This method uses string comparison to find the region, so the result should be cached rather than calling this method multiple times.

FlipV ( ) : void

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

Метод Описание
Load ( TextReader reader, String imagesDir, TextureLoader textureLoader ) : void
ReadFile ( string path, TextureLoader textureLoader ) : Task
ReadTuple ( TextReader reader, String tuple ) : int

Returns the number of tuple values read (1, 2 or 4).

ReadValue ( TextReader reader ) : String

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

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

public Atlas ( List pages, List regions ) : System
pages List
regions List
Результат System

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

public Atlas ( String path, TextureLoader textureLoader ) : System
path String
textureLoader TextureLoader
Результат System

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

public Atlas ( TextReader reader, String dir, TextureLoader textureLoader ) : System
reader System.IO.TextReader
dir String
textureLoader TextureLoader
Результат System

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

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

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

Returns the first region found with the specified name. This method uses string comparison to find the region, so the result should be cached rather than calling this method multiple times.
public FindRegion ( String name ) : AtlasRegion
name String
Результат AtlasRegion

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

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