MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / InFirstPersonView

Method InFirstPersonView

src/game/client/c_baseplayer.cpp:1969–1986  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: single place to decide whether the camera is in the first-person position NOTE - ShouldDrawLocalPlayer() can be true even if the camera is in the first-person position, e.g. in VR. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

ResetDuckLatchedMethod · 0.80
IsFirstPersonViewMethod · 0.80
ShouldDrawMethod · 0.80

Calls 4

GetLocalPlayerFunction · 0.85
ToBasePlayerFunction · 0.70
GetObserverModeMethod · 0.45
GetObserverTargetMethod · 0.45

Tested by

no test coverage detected