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

Method ShouldDrawThisPlayer

src/game/client/c_baseplayer.cpp:1992–2011  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: single place to decide whether the player is being drawn with the standard model (i.e. not the viewmodel) 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 13

TracerCallbackFunction · 0.80
ParticleTracerCallbackFunction · 0.80
FireBulletMethod · 0.80
ShadowCastTypeMethod · 0.80
ShouldDrawMethod · 0.80
UsingViewModelMethod · 0.80
InternalDrawModelMethod · 0.80
UpdateModelIndexMethod · 0.80
ShadowCastTypeMethod · 0.80
ShouldDrawMethod · 0.80

Calls 2

UseVRFunction · 0.85
GetBoolMethod · 0.45

Tested by

no test coverage detected