TextureResource
ThorResourceType:0x27- Max. version:
0x2
A TextureResource contains a single texture image, or a reference to one if it is localised.
TextureResource structure
| Name | Type | Condition | Description |
|---|---|---|---|
| header | ThorResourceHeader |
||
| isLocalised | bool |
Indicates whether this texture has localised content. | |
| path | BasicString |
isLocalised |
Virtual path to localised texture file. Never observed to refer to anything but raw PNG files. |
| format | EncryptedString |
!isLocalised |
Format of data. Never observed to be anything other than "png". |
| data | Array<uint8> |
!isLocalised |