Garry's Mod Wiki

MainEyeAngles

  Angle MainEyeAngles()

Description

Returns the main view angles, as they were at the start of the latest main view render.

This is a good alternative to EyeAngles which is affected by other rendering operations, including render.RenderView.

Returns

1 Angle
The angles of the main view.