Garry's Mod Wiki

EyeAngles

Description

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

This function is only reliable inside rendering hooks.

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

Session 0
DB GetPage 3
Generate Html 5
SaveChanges 7
Render Body 0
Render Sidebar 16