ScummVM API documentation
Grim::Model Class Reference
Inheritance diagram for Grim::Model:
Grim::Object

Classes

struct  Geoset
 

Public Member Functions

 Model (const Common::String &filename, Common::SeekableReadStream *data, CMap *cmap, Model *parent=NULL)
 
void reload (CMap *cmap)
 
void draw () const
 
MaterialfindMaterial (const char *name, CMap *cmap) const
 
const Common::StringgetFilename () const
 
const ObjectPtr< CMap > & getCMap () const
 
ModelNodegetHierarchy () const
 
int getNumNodes () const
 
void loadMaterial (int index, CMap *cmap)
 
void loadBinary (Common::SeekableReadStream *data)
 
void loadText (TextSplitter *ts)
 
- Public Member Functions inherited from Grim::Object
void reset ()
 
void reference ()
 
void dereference ()
 
int32 getId () const
 

Public Attributes

Common::String _fname
 
ObjectPtr< CMap_cmap
 
Model_parent
 
int _numMaterials
 
char(* _materialNames )[32]
 
Material ** _materials
 
bool * _materialsShared
 
Math::Vector3d _insertOffset
 
int _numGeosets
 
Geoset_geosets
 
float _radius = 0.0f
 
int _numHierNodes
 
ModelNode_rootHierNode
 
Math::Vector3d _bboxPos
 
Math::Vector3d _bboxSize
 

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