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

Method ClientSetupVisibility

src/game/server/gameinterface.cpp:2915–3013  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: A client can have a separate "view entity" indicating that his/her view should depend on the origin of that view entity. If that's the case, then pViewEntity will be non-NULL and will be used. Otherwise, the current entity's origin is used. Either is offset by the m_vecViewOffset to get the eye position. From

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 14

GetContainingEntityFunction · 0.85
PreSetupVisibilityMethod · 0.80
AddOriginToPVSMethod · 0.80
UpdateAreaBitsMethod · 0.80
ErrorFunction · 0.50
EyePositionMethod · 0.45
SetupVisibilityMethod · 0.45
HeadMethod · 0.45
InvalidIndexMethod · 0.45

Tested by

no test coverage detected