EyeAngles

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

Contents

Description

Returns the angles of the current render context as calculated by GM:CalcView.

BUG

This function is only reliable inside rendering hooks.

Issue Tracker: #2516

Returns

Angle

The angle of the currently rendered scene.

Examples

Example

Print the view angles

print(EyeAngles())


Examples

Example

Identical to EyeVector

print(EyeAngles():Forward())


Personal tools
Navigation