cam.GetProjectionMatrix
Recently Added
This was recently added in version (2026.06.03). It might only be available on the Dev Branch right now.
Description
Returns a copy of the projection matrix. Also see cam.GetViewMatrix.
Will return Identity matrix in 2D Render context. In this case use cam.Start3D. See Render Hook Order.
Garry's Mod
Rust
Steamworks
Wiki Help