ドキュメント

Unity Engine

Unity Engine

MultMatrix(Matrix4x4)

Sets the current model matrix to the one specified.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static void MultMatrix(Matrix4x4 m)

Parameters

Remarks

The model matrix is typically the local-to-world matrix of the object being drawn.
Changing the model, view or projection matrices overrides the current rendering matrices. It is good practice to save and restore these matrices using GL.PushMatrix and GL.PopMatrix.