MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / IsMyCamera

Method IsMyCamera

ogsr_engine/xrGame/Entity.cpp:311–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309
310bool CEntity::IsFocused() const { return (smart_cast<const CEntity*>(g_pGameLevel->CurrentEntity()) == this); }
311bool CEntity::IsMyCamera() const { return (smart_cast<const CEntity*>(g_pGameLevel->CurrentViewEntity()) == this); }
312
313DLL_Pure* CEntity::_construct()
314{

Callers 3

UpdateCLMethod · 0.80
UpdateExMethod · 0.80
UpdateCLMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected