Garry's Mod Wiki

cam.GetModelMatrix

  VMatrix cam.GetModelMatrix()

Description

Returns a copy of the model matrix that is at the top of the stack.

Editing the matrix will not edit the current view. To do so, you will have to use cam.PushModelMatrix.

Returns

1 VMatrix
The currently active matrix.