GL.PushMatrix Manual     Reference     Scripting  
Scripting > Runtime Classes > GL
GL.PushMatrix

static function PushMatrix () : void

Description

Saves both projection and modelview matrices to the matrix stack.

Changing modelview or projection matrices overrides current camera's parameters. These matrices can be saved and restored using GL.PushMatrix and GL.PopMatrix.

See Also: PopMatrix function.