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.

JavaScript
camera.ResetProjectionMatrix();

using UnityEngine;
using System.Collections;

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

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
camera.ResetProjectionMatrix()