Garry's Mod Wiki

EyeVector

EyeVector

Vector EyeVector()

Description

Returns the normal vector of the current render context as calculated by GM:CalcView, similar to EyeAngles.

This function is only reliable inside rendering hooks.

Issue Tracker: 2516

Returns

1 Vector
View direction of the currently rendered scene.

Example

Print the view angles

Special Pages


Wikis

?

Render Time: 67ms

DB GetPage 50
Generate Html 3
SaveChanges (1) 5
Render Body 0
Render Sidebar 7