DB/CharComponentTextureSections: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
Contains the coordinates within the character skinning texture for each component.
Contains the coordinates within the character skinning texture for each component. and their sizes.


== Structure ==
== Structure ==

Revision as of 14:09, 8 October 2014

Contains the coordinates within the character skinning texture for each component. and their sizes.

Structure

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

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