MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getCameraObject

Method getCameraObject

Engine/source/T3D/gameBase/gameConnection.cpp:650–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

648}
649
650GameBase* GameConnection::getCameraObject()
651{
652 // If there is no camera object, or if we're first person, return
653 // the control object.
654 if( !mControlObject.isNull() && (mCameraObject.isNull() || mFirstPerson))
655 return mControlObject;
656 return mCameraObject;
657}
658
659static S32 sChaseQueueSize = 0;
660static MatrixF* sChaseQueue = 0;

Callers 10

_renderSceneMethod · 0.80
get_cameraMethod · 0.80
advanceTimeMethod · 0.80
GameProcessCameraQueryFunction · 0.80
gameConnection.cppFile · 0.80
processTickMethod · 0.80
renderObjectMethod · 0.80
onRenderMethod · 0.80
_renderEmitterInfoMethod · 0.80
processTickMethod · 0.80

Calls 1

isNullMethod · 0.45

Tested by

no test coverage detected