Method GetTextureID
GetTextureID(Texture)
Get sub-texture ID for the atlas.
Declaration
public int GetTextureID(Texture texture)
Parameters
| Type | Name | Description |
|---|---|---|
| Texture | texture | Source texture. |
Returns
| Type | Description |
|---|---|
| int | Texture instance ID. |
GetTextureID(Texture, Texture)
Get sub-texture ID for the atlas.
Declaration
public int GetTextureID(Texture textureA, Texture textureB)
Parameters
| Type | Name | Description |
|---|---|---|
| Texture | textureA | Source texture A. |
| Texture | textureB | Source texture B. |
Returns
| Type | Description |
|---|---|
| int | Combined texture instance ID. |