This class describes a model of a body part. More...
#include "Loader_mdl_hl2_mdl.hpp"
Public Member Functions | |
| const StudioMeshT * | GetMeshes () const |
| const StudioVertexT * | GetVertices () const |
| const Vector4D * | GetTangents () const |
| std::ostream & | print (std::ostream &os, const char *indent) const |
Public Attributes | |
| char | Name [64] |
| uint32_t | Type |
| float | BoundingRadius |
| uint32_t | NumMeshes |
| LOD is implemented at mesh level, not at model level. More... | |
| uint32_t | MeshesOffset |
| uint32_t | NumVertices |
| The number of unique vertices (along with normals, tangents and texcoords) in this mesh. More... | |
| uint32_t | VertOffset |
| The byte-offset into the VVD file to the first vertex. See GetVertices() for details. More... | |
| uint32_t | TangentsOffset |
| As VertOffset, but for tangents. More... | |
| uint32_t | NumAttachments |
| uint32_t | AttachmentsOffset |
| uint32_t | NumEyeballs |
| uint32_t | EyeballsOffset |
| const StudioVertexT * | m_Vertices |
| = VertexHeader->GetVertices(); More... | |
| const Vector4D * | m_Tangents |
| = VertexHeader->GetTangents(); More... | |
| uint32_t | Unused [8] |
| Pointers are 32 bits wide. More... | |
This class describes a model of a body part.
| const Vector4D* HL2mdl::StudioModelT::m_Tangents |
= VertexHeader->GetTangents();
| const StudioVertexT* HL2mdl::StudioModelT::m_Vertices |
= VertexHeader->GetVertices();
| uint32_t HL2mdl::StudioModelT::NumMeshes |
LOD is implemented at mesh level, not at model level.
| uint32_t HL2mdl::StudioModelT::NumVertices |
The number of unique vertices (along with normals, tangents and texcoords) in this mesh.
| uint32_t HL2mdl::StudioModelT::TangentsOffset |
As VertOffset, but for tangents.
| uint32_t HL2mdl::StudioModelT::Unused[8] |
Pointers are 32 bits wide.
| uint32_t HL2mdl::StudioModelT::VertOffset |
The byte-offset into the VVD file to the first vertex. See GetVertices() for details.