This class describes a bone. More...
#include "Loader_mdl_hl2_mdl.hpp"
Public Member Functions | |
| const char * | GetName () const |
| const char * | GetSurfacePropName () const |
| std::ostream & | print (std::ostream &os, const char *indent) const |
Public Attributes | |
| uint32_t | NameOffset |
| int32_t | Parent |
| int32_t | BoneController [6] |
| Indices to the bone controllers of this bone, -1 means "none". More... | |
| Vector3fT | Pos |
| The bone's position in the default pose. More... | |
| QuaternionfT | Quat |
| The bone's orientation in the default pose. More... | |
| AnglesfT | Angles |
| The bone's rotation in the default pose (Euler angles in radians, not degrees). More... | |
| Vector3fT | PosScale |
| Compression scale. More... | |
| Vector3fT | RotScale |
| Matrix3x4fT | PoseToBone |
| Transforms a (default pose's) mesh vertex from Model Space to Bone Space. More... | |
| QuaternionfT | Alignment |
| uint32_t | Flags |
| uint32_t | ProcType |
| uint32_t | ProcOffset |
| uint32_t | PhysicsBone |
| uint32_t | SurfacePropNameOffset |
| uint32_t | Contents |
| uint32_t | Unused [8] |
This class describes a bone.
The entirety of the bones define the skeleton of the model.
| AnglesfT HL2mdl::StudioBoneT::Angles |
The bone's rotation in the default pose (Euler angles in radians, not degrees).
| int32_t HL2mdl::StudioBoneT::BoneController[6] |
Indices to the bone controllers of this bone, -1 means "none".
| Vector3fT HL2mdl::StudioBoneT::Pos |
The bone's position in the default pose.
| Matrix3x4fT HL2mdl::StudioBoneT::PoseToBone |
Transforms a (default pose's) mesh vertex from Model Space to Bone Space.
| Vector3fT HL2mdl::StudioBoneT::PosScale |
Compression scale.
| QuaternionfT HL2mdl::StudioBoneT::Quat |
The bone's orientation in the default pose.