Garry's Mod Wiki

Revision Difference

cam.GetModelMatrix#561910

<function name="GetModelMatrix" parent="cam" type="libraryfunc"> <description>Returns a copy of the model matrix that is at the top of the stack. <note>Editing the matrix **will not** edit the current view. To do so, you will have to **push** it.</note> <note>This function essentially returns the copy of the last pushed model matrix.</note>⤶ <note>Editing the matrix **will not** edit the current view. To do so, you will have to use <page>cam.PushModelMatrix</page>.</note> </description> <realm>Client</realm> <rets> <ret name="" type="VMatrix">The currently active matrix.</ret> </rets> </function>