Camera.ResetProjectionMatrix Manual     Reference     Scripting  
Scripting > Runtime Classes > Camera
Camera.ResetProjectionMatrix

function ResetProjectionMatrix () : void

Description

Make the projection reflect normal camera's parameters.

Call this to end the effect of setting projectionMatrix.

JavaScripts
camera.ResetProjectionMatrix();

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
camera.ResetProjectionMatrix();
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
camera.ResetProjectionMatrix()