Garry's Mod Wiki

EyeAngles

EyeAngles

  Angle EyeAngles()

Description

Returns the angles of the current render context as calculated by GM:CalcView.

This function is only reliable inside rendering hooks.

Issue Tracker: 2516

Returns

1 Angle
The angle of the currently rendered scene.

Example

Identical to EyeVector.

print( EyeAngles():Forward() )

Special Pages


Wikis

?

Render Time: 216ms

DB GetPage 41
Generate Html 4
SaveChanges (1) 161
Render Body 0
Render Sidebar 7