Unity GAF Player  1.0
Tools for playing GAF animation inside Unity
 All Classes Files Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Properties | List of all members
GAFTextureAtlas Class Reference

Public Member Functions

 GAFTextureAtlas (float scale)
 
 GAFTextureAtlas (float scale, GAFElement[] elements)
 
 GAFTextureAtlas (float scale, GAFElement[] elements, GAFAtlas[] atlases)
 
GAFElement GetElementByName (string elementName)
 Gets element by its name. More...
 
GAFAtlas GetAtlasById (int id)
 Gets the atlas by identifier. More...
 

Properties

GAFElement[] Elements [get, set]
 Gets or sets the elements. More...
 
GAFAtlas[] Atlases [get, set]
 Gets or sets the atlases. More...
 
float Scale [get]
 Gets the scale. More...
 

Constructor & Destructor Documentation

GAFTextureAtlas.GAFTextureAtlas ( float  scale)
GAFTextureAtlas.GAFTextureAtlas ( float  scale,
GAFElement[]  elements 
)
GAFTextureAtlas.GAFTextureAtlas ( float  scale,
GAFElement[]  elements,
GAFAtlas[]  atlases 
)

Member Function Documentation

GAFAtlas GAFTextureAtlas.GetAtlasById ( int  id)

Gets the atlas by identifier.

Returns
The atlas by identifier.
Parameters
idIdentifier.
GAFElement GAFTextureAtlas.GetElementByName ( string  elementName)

Gets element by its name.

Returns
The element by name.
Parameters
elementNameElement name.

Property Documentation

GAFAtlas [] GAFTextureAtlas.Atlases
getset

Gets or sets the atlases.

The atlases.

GAFElement [] GAFTextureAtlas.Elements
getset

Gets or sets the elements.

The elements.

float GAFTextureAtlas.Scale
get

Gets the scale.

The scale.


The documentation for this class was generated from the following file: