EyeVector

From Garry's Mod
Jump to: navigation, search
 EyeVector( )

Contents

Description

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

BUG

This function is only reliable inside rendering hooks.

Issue Tracker: #2516

Returns

Vector

View direction of the currently rendered scene.

Examples

Example

Print the view angles

print( EyeVector() )


Personal tools
Navigation