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.