|
WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
|
An attachment point on a WoW model (weapon, shoulder, helmet, etc.). More...
#include <ModelAttachment.h>
Public Member Functions | |
| void | init (ModelAttachmentDef &mad) |
| Initialise from an on-disk attachment definition. | |
| void | setup () const |
| Set up the attachment transform for rendering. | |
Public Attributes | |
| int | id |
| Attachment slot ID (see POSITION_SLOTS). | |
| glm::vec3 | pos |
| Position relative to the parent bone. | |
| int | bone |
| Index of the bone this attachment is parented to. | |
| WoWModel * | model |
| The model this attachment belongs to. | |
An attachment point on a WoW model (weapon, shoulder, helmet, etc.).
Definition at line 18 of file ModelAttachment.h.
| void ModelAttachment::init | ( | ModelAttachmentDef & | mad | ) |
Initialise from an on-disk attachment definition.
Definition at line 8 of file ModelAttachment.cpp.
| void ModelAttachment::setup | ( | ) | const |
Set up the attachment transform for rendering.
Definition at line 15 of file ModelAttachment.cpp.
| int ModelAttachment::bone |
Index of the bone this attachment is parented to.
Definition at line 22 of file ModelAttachment.h.
| int ModelAttachment::id |
Attachment slot ID (see POSITION_SLOTS).
Definition at line 20 of file ModelAttachment.h.
| WoWModel* ModelAttachment::model |
The model this attachment belongs to.
Definition at line 23 of file ModelAttachment.h.
| glm::vec3 ModelAttachment::pos |
Position relative to the parent bone.
Definition at line 21 of file ModelAttachment.h.