MDLParser
Simple and modern library for parsing the Source engine model formats
Loading...
Searching...
No Matches
Public Attributes | List of all members
MdlParser::Mdl::Bone Struct Reference

#include <mdl.hpp>

Public Attributes

std::string name
 
int32_t parent
 
Structs::Vector position
 
Structs::Quaternion orientation
 
Structs::RadianEuler orientationEuler
 
Structs::Vector positionScale
 
Structs::Vector orientationScale
 
Structs::Matrix3x4 poseToBone
 
int32_t flags
 

Detailed Description

A bone forming part of the model's skeleton.

Member Data Documentation

◆ flags

int32_t MdlParser::Mdl::Bone::flags

Bitflags describing this bone. An enum is not currently provided with the possible values and their meanings.

◆ name

std::string MdlParser::Mdl::Bone::name

The human readable name of this bone.

◆ parent

int32_t MdlParser::Mdl::Bone::parent

Index of this bone's parent.

◆ poseToBone

Structs::Matrix3x4 MdlParser::Mdl::Bone::poseToBone

Matrix to translate vertices from model space to bone space for skinning.


The documentation for this struct was generated from the following file: