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 |
{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end}