EvilEngine/DYNA/ui:image: Difference between revisions

no edit summary
No edit summary
 
Line 8:
</onlyinclude>
{{AutoDynaInfobox}}
 
==Format==
Inherits from [[EvilEngine/DYNA/ui:asset|DYNA/ui:asset]]
 
<source lang=cpp>
class zUIImageAsset : public zUIAsset
{
public:
unsigned int image;
float u1;
float v1;
float u2;
float v2;
float u3;
float v3;
float u4;
float v4;
float rotation;
unsigned short iflags;
unsigned char addressModeU;
unsigned char addressModeV;
xColor_tag color1;
xColor_tag color2;
xColor_tag color3;
xColor_tag color4;
};
</source>
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x000x50 || [[RWTX]] || '''image''' || '''Texture_AssetID'''
|-
| 0x040x54 || floatf32 || '''u1''' ||
|-
| 0x080x58 || floatf32 || '''v1''' ||
|-
| 0x0C0x5C || floatf32 || '''u2''' ||
|-
| 0x100x60 || floatf32 || '''v2''' ||
|-
| 0x140x64 || floatf32 || '''u3''' ||
|-
| 0x180x68 || floatf32 || '''v3''' ||
|-
| 0x1C0x6C || floatf32 || '''u4''' ||
|-
| 0x200x70 || floatf32 || '''v4''' ||
|-
| 0x240x74 || floatf32 || '''rotation''' ||
|-
| 0x280x78 || ushortu16 || '''iflags''' || 1 - Unknown<br>2 - Transparent
|-
| 0x2A0x7A || charu8 || '''addreasMoveU''' ||
|-
| 0x2B0x7B || charu8 || '''addreasMoveV''' ||
|-
| 0x2C0x7C || color_tag[[Color]] || '''color1''' ||
|-
| 0x300x80 || color_tag[[Color]] || '''color2''' ||
|-
| 0x340x84 || color_tag[[Color]] || '''color3''' ||
|-
| 0x380x88 || color_tag[[Color]] || '''color4''' ||
|}