Свойство | Тип | Описание | |
---|---|---|---|
SourceRectangle | Rectangle |
Свойство | Тип | Описание | |
---|---|---|---|
disposed | bool |
Свойство | Тип | Описание | |
---|---|---|---|
RefreshAtlasTexture | void | ||
RefreshTextureIndex | void |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
RefreshAtlasTexture ( ) : void |
Refresh the atlas texture
|
|
RefreshTextureIndex ( ) : void |
Refresh texture index from its name
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool |
/// |
Результат | void |
protected RefreshSourceRectangle ( ) : void | ||
Результат | void |
public SpriteAtlas ( string atlasPath ) : System | ||
atlasPath | string | The path to the atlas. |
Результат | 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. |
Результат | System |