Garry's Mod Wiki

Garry's Mod Wiki

  Vector MainEyePos()

Description

Returns the origin of the main view, as it was at the start of the latest main view render.

This is a good alternative to EyePos which is affected by other rendering operations, including render.RenderView.

Returns

1 Vector
Main camera position.

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 four times a day. Edits and history are not available.

Last Parsed: Loading...