Camera.ResetProjectionMatrix 重设投影矩阵


function ResetProjectionMatrix () : void

Description描述

Make the projection reflect normal camera's parameters.

让投影反映正常的相机参数。

Call this to end the effect of setting projectionMatrix.

调用这个结束projectionMatrix设置的效果。

  • C#

  • JavaScript

using UnityEngine;using System.Collections;public class example : MonoBehaviour {public void Awake() {camera.ResetProjectionMatrix();}}
camera.ResetProjectionMatrix();


,