UnityEngine.Camera.ResetAspect C# (CSharp) Method

ResetAspect() public method

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

public ResetAspect ( ) : void
return void
        public void ResetAspect()
        {
            INTERNAL_CALL_ResetAspect(this);
        }

Usage Example

コード例 #1
0
 static public int ResetAspect(IntPtr l)
 {
     try{
         UnityEngine.Camera self = (UnityEngine.Camera)checkSelf(l);
         self.ResetAspect();
         return(0);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
All Usage Examples Of UnityEngine.Camera::ResetAspect
Camera