#include <cMapEntity.h>
◆ cMapEntity()
GrayMapData::cMapEntity::cMapEntity |
( |
| ) |
|
◆ ~cMapEntity()
GrayMapData::cMapEntity::~cMapEntity |
( |
| ) |
|
|
virtual |
◆ get_Center()
const cVector3f& GrayMapData::cMapEntity::get_Center |
( |
| ) |
const |
|
inline |
◆ get_CenterW()
cPoint3f GrayMapData::cMapEntity::get_CenterW |
( |
| ) |
const |
◆ get_ContainerObject()
virtual cXObjectPtr GrayMapData::cMapEntity::get_ContainerObject |
( |
| ) |
const |
|
inlinevirtual |
< cXObject overload. What parent object is this contained by. may be inside or outside (visible)
◆ get_MapBase()
virtual cMapBase* GrayMapData::cMapEntity::get_MapBase |
( |
| ) |
const |
|
pure virtual |
◆ get_Mover()
◆ get_ParentPatch()
cMapPatchPtr GrayMapData::cMapEntity::get_ParentPatch |
( |
| ) |
const |
|
inline |
< Get my m_pParentCont if it is a cMapPatch and not another object. faster than just dynamic_cast m_pParentCont
◆ get_PatchLod()
virtual MAP_LOD_TYPE GrayMapData::cMapEntity::get_PatchLod |
( |
| ) |
const |
|
inlinevirtual |
< what MAP_LOD_TYPE should this object be stored in ? How big is it ? should be based on this objects m_BSphere radius.
◆ get_PatchSize()
MAP_METERI_t GrayMapData::cMapEntity::get_PatchSize |
( |
| ) |
const |
|
inline |
◆ get_Position()
const cVector3f& GrayMapData::cMapEntity::get_Position |
( |
| ) |
const |
|
inline |
computed DX9 3d coords root/feet position = World + d3dOffset
◆ get_PositionHeight()
MAP_METER_t GrayMapData::cMapEntity::get_PositionHeight |
( |
| ) |
const |
|
inline |
◆ get_PosW()
cPoint3f GrayMapData::cMapEntity::get_PosW |
( |
| ) |
const |
◆ isPatchSaved()
virtual bool GrayMapData::cMapEntity::isPatchSaved |
( |
| ) |
const |
|
inlinevirtual |
is this saved in static SCP files? What OBJ_SAVE_TYPE is this?
- Note
- server database saved and temporary objects are not saved in the static SCP file.
◆ isTopLevel()
bool GrayMapData::cMapEntity::isTopLevel |
( |
| ) |
const |
◆ MakeMover()
◆ put_Position()
void GrayMapData::cMapEntity::put_Position |
( |
const cVector3f & |
vPos | ) |
|
◆ put_PositionHeight()
void GrayMapData::cMapEntity::put_PositionHeight |
( |
MAP_METERf_t |
fGround | ) |
|
◆ put_Scale1()
virtual void GrayMapData::cMapEntity::put_Scale1 |
( |
float |
fScale | ) |
|
|
inlinevirtual |
◆ StopMover()
void GrayMapData::cMapEntity::StopMover |
( |
| ) |
|
◆ UpdatePosition()
virtual void GrayMapData::cMapEntity::UpdatePosition |
( |
| ) |
|
|
virtual |
◆ m_bParentRelChanged
bool GrayMapData::cMapEntity::m_bParentRelChanged |
Must call UpdatePosition() to recalc m_vPosition, m_BSphere, m_mWorld, etc. from m_ParentRel and all its children.
◆ m_BSphere
cSpheref GrayMapData::cMapEntity::m_BSphere |
bounding sphere is oriented, scaled, in world (translated by m_ParentRel * parent chain).
◆ m_eSaveType
How is the entity persisted ?
◆ m_mWorld
location + scale + orientation in world.
◆ m_ParentRel
parent relative offset, rotation and scale. (SAVED)
◆ m_pMoveable
params if this might move.
◆ m_vPosition
cVector3f GrayMapData::cMapEntity::m_vPosition |
computed DX World coords position. (feet/root/origin position is not the same as m_BSphere pos)
The documentation for this class was generated from the following files: