Garry's Mod Wiki

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

Print the view angles

print(EyeAngles())

Example

Identical to EyeVector

print(EyeAngles():Forward())

Page Links


Special Pages


Wikis

?

Render Time: 36ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 22
Render Body 0
Render Sidebar 6