Method GetTexture
GetTexture(int)
Get texture by glTF texture index
Declaration
Texture2D GetTexture(int index = 0)
Parameters
Type | Name | Description |
---|---|---|
int | index | glTF texture index |
Returns
Type | Description |
---|---|
Texture2D | Loaded Unity texture |