DB/SpellVisualKitModelAttach: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 9: Line 9:
     float m_offsetY;  
     float m_offsetY;  
     float m_offsetZ;  
     float m_offsetZ;  
     float m_yaw;
     float m_yaw;                                                           // the three rotations seem to be in radians
     float m_pitch;
     float m_pitch;
     float m_roll;
     float m_roll;

Revision as of 01:11, 30 May 2016

New in WotLK.

struct SpellVisualKitModelAttachRec {
   uint32_t m_ID;
   foreign_key<uint32_t, &SpellVisualKitRec::m_ID> m_parentSpellVisualKitID; 
   foreign_key<uint32_t, &SpellVisualEffectNameRec::m_ID> m_spellVisualEffectNameID; 
   uint32_t m_attachmentID;                                                           // the parent model's attachment, -1 for model's base position
   float m_offsetX;                                                                   // relative to the attachment
   float m_offsetY; 
   float m_offsetZ; 
   float m_yaw;                                                           // the three rotations seem to be in radians
   float m_pitch;
   float m_roll;
};