Property | Type | Description | |
---|---|---|---|
SourceRectangle | Rectangle |
Property | Type | Description | |
---|---|---|---|
disposed | bool |
Property | Type | Description | |
---|---|---|---|
RefreshAtlasTexture | void | ||
RefreshTextureIndex | void |
Method | Description | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
SpriteAtlas ( ) : System |
Initializes a new instance of the SpriteAtlas class.
|
|
SpriteAtlas ( string atlasPath ) : System |
Initializes a new instance of the SpriteAtlas class.
|
|
SpriteAtlas ( string atlasPath, string textureName ) : System |
Initializes a new instance of the SpriteAtlas class.
|
Method | Description | |
---|---|---|
DefaultValues ( ) : void |
Sets default values
|
|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources
|
|
Initialize ( ) : void |
Performs further custom initialization for this instance.
|
|
RefreshSourceRectangle ( ) : void |
Refresh the source rectangle of the sprite transform 2D.
|
Method | Description | |
---|---|---|
RefreshAtlasTexture ( ) : void |
Refresh the atlas texture
|
|
RefreshTextureIndex ( ) : void |
Refresh texture index from its name
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool |
/// |
return | void |
public SpriteAtlas ( string atlasPath ) : System | ||
atlasPath | string | The path to the atlas. |
return | System |
public SpriteAtlas ( string atlasPath, string textureName ) : System | ||
atlasPath | string | The path to the atlas. |
textureName | string | Name of the texture from where this atlas is loaded. |
return | System |