SEntityUpdateContext

Entity update context structure.

C++
struct SEntityUpdateContext {
  int nFrameID;
  CCamera * pCamera;
  float fCurrTime;
  float fFrameTime;
  bool bProfileToLog;
  int numUpdatedEntities;
  int numVisibleEntities;
  float fMaxViewDist;
  float fMaxViewDistSquared;
  Vec3 vCameraPos;
};
File

IEntity.h

SEntityUpdateContext::bProfileToLog Data Member
C++
bool bProfileToLog;
Description

Indicates if a profile entity must update the log.

SEntityUpdateContext::fCurrTime Data Member
C++
float fCurrTime;
Description

Current system time.

SEntityUpdateContext::fFrameTime Data Member
C++
float fFrameTime;
Description

Delta frame time (of last frame).

SEntityUpdateContext::fMaxViewDist Data Member
C++
float fMaxViewDist;
Description

Maximal view distance.

SEntityUpdateContext::fMaxViewDistSquared Data Member
C++
float fMaxViewDistSquared;
Description

Maximal view distance squared.

SEntityUpdateContext::nFrameID Data Member
C++
int nFrameID;
Description

Current rendering frame id.

SEntityUpdateContext::numUpdatedEntities Data Member
C++
int numUpdatedEntities;
Description

Number of updated entities.

SEntityUpdateContext::numVisibleEntities Data Member
C++
int numVisibleEntities;
Description

Number of visible and updated entities.

SEntityUpdateContext::pCamera Data Member
C++
CCamera * pCamera;
Description

Current camera.

SEntityUpdateContext::vCameraPos Data Member
C++
Vec3 vCameraPos;
Description

Camera source position.

SEntityUpdateContext::SEntityUpdateContext Constructor
C++
SEntityUpdateContext();
Description

Initialization ctor.