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 |
| Material * | findMaterial (const char *name, CMap *cmap) const |
| const Common::String & | getFilename () const |
| const ObjectPtr< CMap > & | getCMap () const |
| ModelNode * | getHierarchy () 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 |