This class describes a body part. More...
#include "Loader_mdl_hl2_mdl.hpp"
Public Member Functions | |
const char * | GetName () const |
StudioModelT * | GetModels () const |
std::ostream & | print (std::ostream &os, const char *indent) const |
Public Attributes | |
uint32_t | NameOffset |
uint32_t | NumModels |
uint32_t | Base |
For the i-th body ("body variant"), use from this body part the (i / Base) % NumModels -th model. More... | |
uint32_t | ModelsOffset |
This class describes a body part.
A body part contains one or several models that are mutually exclusive, e.g. "empty holster", "holster with gun", "walkie-talkie", "empty/nothing". Bodies ("body variants") can be constructed from all such possible combinations. The related hierarchy is:
body variant // a result of the combinations below body part // all needed model // mutually exclusive meshes // all needed
uint32_t HL2mdl::StudioBodyPartT::Base |
For the i-th body ("body variant"), use from this body part the (i / Base) % NumModels
-th model.