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

Method isFirstPerson

Engine/source/T3D/shapeBase.cpp:1603–1612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1601}
1602
1603bool ShapeBase::isFirstPerson() const
1604{
1605 // Always first person as far as the server is concerned.
1606 if (!isGhost())
1607 return true;
1608
1609 if (const GameConnection* con = getControllingClient())
1610 return con->getControlObject() == this && con->isFirstPerson();
1611 return false;
1612}
1613
1614bool ShapeBase::isValidCameraFov(F32 fov)
1615{

Callers 11

setThirdPersonOffsetMethod · 0.45
ea_startMethod · 0.45
ea_updateMethod · 0.45
_testVisibilityMethod · 0.45
getMuzzleVectorMethod · 0.45
getRenderMuzzleVectorMethod · 0.45
getCorrectedAimMethod · 0.45
updateMoveMethod · 0.45
getMuzzleVectorMethod · 0.45
prepRenderImageMethod · 0.45
renderSceneMethod · 0.45

Calls 1

getControlObjectMethod · 0.45

Tested by

no test coverage detected