Garry's Mod Wiki

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.

Returns

1 Vector
View direction of the currently rendered scene.

Example

Print the view angles

Page Links


Special Pages


Wikis

?

Render Time: 31ms

Session 0
DB GetPage 7
Generate Html 3
SaveChanges 13
Render Body 0
Render Sidebar 6