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

function ResetAspect () : void

Description

Revert the aspect ratio to the screen's aspect ratio.

Call this to end the effect of setting aspect.

camera.ResetAspect();