Garry's Mod Wiki



Table structure used GM:CalcView and GM:CalcVehicleView hook.


origin [Vector]

The camera's position

angles [Angle]

The camera's angles

fov [number]

The camera's FOV

znear [number]

Distance to near clipping plane

zfar [number]

Distance to far clipping plane

drawviewer [boolean]

Set true to draw local players player model.

Default: false

ortho [table]

If set, enables orthographic mode. The table has following arguments:

Default: nil

Page Links

Special Pages



Render Time: 100ms

DB GetPage 54
Generate Html 19
SaveChanges (1) 13
Render Body 0
Render Sidebar 12