GL.MultMatrix 乘以矩阵

static function MultMatrix (mat : Matrix4x4) : void

Description描述

Multiplies the current modelview matrix with the one specified.

用当前的模型视图矩阵乘以矩阵。

Equivalent to glMultMatrix(mat) in OpenGL; in other graphics APIs the corresponding functionality is emulated.

这个函数和OpenGL中的glMultMatrix一样。其它的图形API也有对应的功能。

Changing modelview matrix overrides current camera's view parameters, so most often you want to save and restore matrix using GL.PushMatrix and GL.PopMatrix.

改变模型视图矩阵会覆盖当前的camera 的参数,许多情况下你需要用到GL.PushMatrix 和GL.PopMatrix矩阵函数.来保存和恢复。

Page last updated: 2011-3-22