DB/CharComponentTextureSections: Difference between revisions
Jump to navigation
Jump to search
m (Created page with '==6.0.1.18179== struct CharComponentTextureSectionsRec { // todo: add data, relaxok }; Category:DBC') |
No edit summary |
||
Line 1: | Line 1: | ||
== | Contains the coordinates within the character skinning texture for each component. | ||
// | == Structure == | ||
{| style="background:#FCFCFC; color:black" | |||
|- | |||
! width="80" | Column | |||
! width="180" | Field | |||
! width="80" | Type | |||
! width="500" | Notes | |||
|- | |||
| 1 || ID || Integer || | |||
|- style="background:#F0F8FF;" | |||
| 2 || [[CharComponentTextureLayouts.dbc|Layout]] || iRefID || | |||
|- style="background:#F0F8FF;" | |||
| 3 || Component || Integer || See below. | |||
|- | |||
| 4 || X || Integer || | |||
|- style="background:#F0F8FF;" | |||
| 5 || Y || Integer || | |||
|- style="background:#F0F8FF;" | |||
| 6 || Width || Integer || | |||
|- style="background:#F0F8FF;" | |||
| 7 || Height || Integer || | |||
|- style="background:#F0F8FF;" | |||
===enum TEXTURE_COMPONENT=== | |||
TEXTURE_COMPONENT_ARMS_UPPER = 0, | |||
TEXTURE_COMPONENT_ARMS_LOWER | |||
TEXTURE_COMPONENT_HANDS | |||
TEXTURE_COMPONENT_TORSO_UPPER | |||
TEXTURE_COMPONENT_TORSO_LOWER | |||
TEXTURE_COMPONENT_LEGS_UPPER | |||
TEXTURE_COMPONENT_LEGS_LOWER | |||
TEXTURE_COMPONENT_FEET | |||
TEXTURE_COMPONENT_UNK8 // Only used in Layout 2 (1024x512) | |||
TEXTURE_COMPONENT_SCALP_UPPER | |||
TEXTURE_COMPONENT_SCALP_LOWER | |||
[[Category:DBC]] | [[Category:DBC]] | ||
[[Category:DBC_Cataclysm]] | |||
[[Category:DBC_MoP]] |
Revision as of 14:06, 8 October 2014
Contains the coordinates within the character skinning texture for each component.
Structure
enum TEXTURE_COMPONENT
TEXTURE_COMPONENT_ARMS_UPPER = 0, TEXTURE_COMPONENT_ARMS_LOWER TEXTURE_COMPONENT_HANDS TEXTURE_COMPONENT_TORSO_UPPER TEXTURE_COMPONENT_TORSO_LOWER TEXTURE_COMPONENT_LEGS_UPPER TEXTURE_COMPONENT_LEGS_LOWER TEXTURE_COMPONENT_FEET TEXTURE_COMPONENT_UNK8 // Only used in Layout 2 (1024x512) TEXTURE_COMPONENT_SCALP_UPPER TEXTURE_COMPONENT_SCALP_LOWER
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | Layout | iRefID | |
3 | Component | Integer | See below. |
4 | X | Integer | |
5 | Y | Integer | |
6 | Width | Integer | |
7 | Height | Integer |