Method GetTexture
GetTexture(int)
Returns a texture by its glTF texture index
Declaration
public Texture2D GetTexture(int index = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | glTF texture index |
Returns
| Type | Description |
|---|---|
| Texture2D | Corresponding Unity texture |