프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
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 |