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

Method getCameraObject

Engine/source/T3D/gameBase/gameConnection.cpp:621–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619}
620
621GameBase* GameConnection::getCameraObject()
622{
623 // If there is no camera object, or if we're first person, return
624 // the control object.
625 if( !mControlObject.isNull() && (mCameraObject.isNull() || mFirstPerson))
626 return mControlObject;
627 return mCameraObject;
628}
629
630static S32 sChaseQueueSize = 0;
631static MatrixF* sChaseQueue = 0;

Callers 12

dof.csFile · 0.80
player.csFile · 0.80
camera.csFile · 0.80
dof.csFile · 0.80
_renderSceneMethod · 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