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

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 10
Render Body 0
Render Sidebar 8