CamData Structure

From Garry's Mod
Jump to: navigation, search
Table structure used GM:CalcView and GM:CalcVehicleView hook.

Type Name Description
Vector origin

The camera's position

Angle angles

The camera's angles

number fov

The camera's FOV

number znear

Distance to near clipping plane

number zfar

Distance to far clipping plane

boolean drawviewer

Set true to draw local players player model.

Default: false

table ortho

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

Default: nil

Personal tools