Garry's Mod Wiki

CamData

CamData

Description

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

Parameters

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:

Each describes where their border starts, (left+right) and (top+bottom) should equal 0 to center on the view position.

Default: nil

Special Pages


Wikis

?

Render Time: 66ms

DB GetPage 39
Generate Html 9
SaveChanges (1) 9
Render Body 0
Render Sidebar 7