Entity update context structure.
struct SEntityUpdateContext { int nFrameID; CCamera * pCamera; float fCurrTime; float fFrameTime; bool bProfileToLog; int numUpdatedEntities; int numVisibleEntities; float fMaxViewDist; float fMaxViewDistSquared; Vec3 vCameraPos; };
IEntity.h
bool bProfileToLog;
Indicates if a profile entity must update the log.
float fCurrTime;
Current system time.
float fFrameTime;
Delta frame time (of last frame).
float fMaxViewDist;
Maximal view distance.
float fMaxViewDistSquared;
Maximal view distance squared.
int nFrameID;
Current rendering frame id.
int numUpdatedEntities;
Number of updated entities.
int numVisibleEntities;
Number of visible and updated entities.
CCamera * pCamera;
Current camera.
Vec3 vCameraPos;
Camera source position.
SEntityUpdateContext();
Initialization ctor.