Garry's Mod Wiki

render.GetViewSetup

  table render.GetViewSetup( boolean noPlayer = false )

Description

Returns the current view setup.

Arguments

1 boolean noPlayer = false
If true, returns the view->GetViewSetup, if false - returns view->GetPlayerViewSetup

Returns

1 table
Current current view setup. See Structures/ViewSetup