Constructor

new(object:String, textureLoader:TextureLoader)

Parameters:

object

A String or ByteArray.

Methods

findRegion(name:String):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.

Returns:

The region, or null.