Overte C++ Documentation
hfm::Model Class Reference

The runtime model format. More...

#include <HFM.h>

Public Member Functions

Extents getUnscaledMeshExtents () const
 Returns the unscaled extents of the model's mesh.
 
QString getModelNameOfMesh (int meshIndex) const
 given a meshIndex this will return the name of the model that mesh belongs to if known
 

Public Attributes

QString applicationName
 the name of the application that generated the model
 
QHash< QString, int > jointIndices
 1-based, so as to more easily detect missing indices
 
int loadWarningCount = 0
 Get the number of warnings that were generated when loading this model. More...
 
int loadErrorCount = 0
 Get the number of errors that were generated when loading this model. More...
 

Detailed Description

The runtime model format.

Member Data Documentation

◆ loadErrorCount

int hfm::Model::loadErrorCount = 0

Get the number of errors that were generated when loading this model.

Errors indicate the model is probably broken and unusable.

Returns
Count

◆ loadWarningCount

int hfm::Model::loadWarningCount = 0

Get the number of warnings that were generated when loading this model.

These may indicate non-compliance with the spec, or usage of deprecated functionality. This function is intended to be used for testing.

Returns
Count

The documentation for this class was generated from the following files: