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 push it.
This function essentially returns the copy of the last pushed model matrix.

Returns

1 VMatrix
The currently active matrix.