![]() |
TrinityCore
|
#include <ModelInstance.h>
Inheritance diagram for VMAP::ModelInstance:Public Member Functions | |
| ModelInstance () | |
| ModelInstance (ModelSpawn const &spawn, WorldModel *model) | |
| void | setUnloaded () |
| bool | intersectRay (G3D::Ray const &pRay, float &pMaxDist, bool pStopAtFirstHit, ModelIgnoreFlags ignoreFlags) const |
| bool | GetLocationInfo (G3D::Vector3 const &p, LocationInfo &info) const |
| bool | GetLiquidLevel (G3D::Vector3 const &p, LocationInfo &info, float &liqHeight) const |
| WorldModel * | getWorldModel () |
Public Member Functions inherited from VMAP::ModelSpawn | |
| bool | operator== (ModelSpawn const &other) const |
| const G3D::AABox & | getBounds () const |
Protected Attributes | |
| G3D::Matrix3 | iInvRot |
| float | iInvScale |
| WorldModel * | iModel |
Additional Inherited Members | |
Static Public Member Functions inherited from VMAP::ModelSpawn | |
| static bool | readFromFile (FILE *rf, ModelSpawn &spawn) |
| static bool | writeToFile (FILE *rw, ModelSpawn const &spawn) |
Public Attributes inherited from VMAP::ModelSpawn | |
| uint32 | flags |
| uint16 | adtId |
| uint32 | ID |
| G3D::Vector3 | iPos |
| G3D::Vector3 | iRot |
| float | iScale |
| G3D::AABox | iBound |
| std::string | name |
Definition at line 63 of file ModelInstance.h.
|
inline |
Definition at line 66 of file ModelInstance.h.
| VMAP::ModelInstance::ModelInstance | ( | ModelSpawn const & | spawn, |
| WorldModel * | model | ||
| ) |
Definition at line 27 of file ModelInstance.cpp.
| bool VMAP::ModelInstance::GetLiquidLevel | ( | G3D::Vector3 const & | p, |
| LocationInfo & | info, | ||
| float & | liqHeight | ||
| ) | const |
Definition at line 106 of file ModelInstance.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool VMAP::ModelInstance::GetLocationInfo | ( | G3D::Vector3 const & | p, |
| LocationInfo & | info | ||
| ) | const |
|
inline |
| bool VMAP::ModelInstance::intersectRay | ( | G3D::Ray const & | pRay, |
| float & | pMaxDist, | ||
| bool | pStopAtFirstHit, | ||
| ModelIgnoreFlags | ignoreFlags | ||
| ) | const |
Definition at line 33 of file ModelInstance.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
protected |
Definition at line 74 of file ModelInstance.h.
|
protected |
Definition at line 75 of file ModelInstance.h.
|
protected |
Definition at line 76 of file ModelInstance.h.