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: 60ms

DB GetPage 27
Generate Html 8
SaveChanges (1) 11
Render Body 0
Render Sidebar 12