Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 32ms

DB GetPage 3
Generate Html 4
SaveChanges (1) 9
Render Body 0
Render Sidebar 12