CLYT format: Difference between revisions
Shibboleet (talk | contribs) m Fix small math error in Vector2 size.  | 
				Shibboleet (talk | contribs)  Edit the picture documentation to properly show inheritance from PAN1.  | 
				||
| Line 244: | Line 244: | ||
== pic1 (Picture 1) ==  | == pic1 (Picture 1) ==  | ||
'''pic1''' represents a picture that can be displayed in a layout. The previous 0x4C bytes are all defined by '''pan1'''.  | |||
{| class="wikitable" border="1"  | {| class="wikitable" border="1"  | ||
|-  | |-  | ||
| Line 251: | Line 253: | ||
!  Description  | !  Description  | ||
|-  | |-  | ||
|  | |0x4C||0x4||RGBA8||Top left vertex color  | ||
|-  | |-  | ||
|  | |0x50||0x4||RGBA8||Top right vertex color  | ||
|-  | |-  | ||
|  | |0x54||0x4||RGBA8||Bottom left vertex color  | ||
|-  | |-  | ||
|  | |0x58||0x4||RGBA8||Bottom right vertex color  | ||
|-  | |-  | ||
|  | |0x5C||0x2||UInt16||Material ID  | ||
|-  | |-  | ||
|  | |0x5E||0x2||UInt16||Nr texture coordinates = N  | ||
|-  | |-  | ||
! colspan="4"|Texture coordinates entry  | ! colspan="4"|Texture coordinates entry  | ||
|-  | |-  | ||
|  | |0x60 + N*0x20||0x8||Vector2||Top left vertex texture coordinate  | ||
|-  | |-  | ||
|  | |0x60 + N*0x20||0x8||Vector2||Top right vertex texture coordinate  | ||
|-  | |-  | ||
|  | |0x60 + N*0x20||0x8||Vector2||Bottom left vertex texture coordinate  | ||
|-  | |-  | ||
|  | |0x60 + N*0x20||0x8||Vector2||Bottom right vertex texture coordinate  | ||
|}  | |}  | ||