Header menu logo Nu

Atlas Type

Constructors

Constructor Description

Atlas(path, textureLoader)

Full Usage: Atlas(path, textureLoader)

Parameters:
path : string
textureLoader : TextureLoader

Atlas(pages, regions)

Full Usage: Atlas(pages, regions)

Parameters:
pages : List<AtlasPage>
regions : List<AtlasRegion>

Atlas(reader, imagesDir, textureLoader)

Full Usage: Atlas(reader, imagesDir, textureLoader)

Parameters:
reader : TextReader
imagesDir : string
textureLoader : TextureLoader

Instance members

Instance member Description

this.Dispose

Full Usage: this.Dispose

this.FindRegion

Full Usage: this.FindRegion

Parameters:
    name : string

Returns: AtlasRegion The region, or null.

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.

name : string
Returns: AtlasRegion

The region, or null.

this.FlipV

Full Usage: this.FlipV

this.GetEnumerator

Full Usage: this.GetEnumerator

Returns: IEnumerator<AtlasRegion>
Modifiers: abstract
Returns: IEnumerator<AtlasRegion>

this.Pages

Full Usage: this.Pages

Returns: List<AtlasPage>
Returns: List<AtlasPage>

this.Regions

Full Usage: this.Regions

Returns: List<AtlasRegion>
Returns: List<AtlasRegion>

Type something to start searching.