Garry's Mod Wiki
Vector EyePos()
Description
Returns the origin of the current render context as calculated by GM:CalcView.
Returns
Example
Ensuring EyePos
returns the correct value outside of render hooks.
Output: Draws a white box in the world where you point the mouse to. Requires the developer convar to be set to
1
.This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated twice a day. Edits and history are not available.
Last Parsed: Loading...