C# Class Spine.Atlas

ファイルを表示 Open project: EsotericSoftware/spine-runtimes Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

Atlas() public method

public Atlas ( List pages, List regions ) : System
pages List
regions List
return System

Atlas() public method

public Atlas ( String path, TextureLoader textureLoader ) : System
path String
textureLoader TextureLoader
return System

Atlas() public method

public Atlas ( TextReader reader, String dir, TextureLoader textureLoader ) : System
reader System.IO.TextReader
dir String
textureLoader TextureLoader
return System

Dispose() public method

public Dispose ( ) : void
return void

FindRegion() public method

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
return AtlasRegion

FlipV() public method

public FlipV ( ) : void
return void