Assets/EasyAR/Scripts/csapi.cs
///<summary>
///Calculates the angle required to rotate the camera image clockwise to align it with the screen.
///screenRotation is the angle of rotation of displaying screen image against device natural orientation in clockwise in degrees.
///For iOS(UIInterfaceOrientationPortrait as natural orientation):
///* UIInterfaceOrientationPortrait: rotation = 0
///* UIInterfaceOrientationLandscapeRight: rotation = 90
///* UIInterfaceOrientationPortraitUpsideDown: rotation = 180
///* UIInterfaceOrientationLandscapeLeft: rotation = 270
///For Android:
///* Surface.ROTATION_0 = 0
///* Surface.ROTATION_90 = 90
///* Surface.ROTATION_180 = 180
///* Surface.ROTATION_270 = 270
///</summary>
Calculates the angle required to rotate the camera image clockwise to align it with the screen.
screenRotation is the angle of rotation of displaying screen image against device natural orientation in clockwise in degrees.
Calculates the angle required to rotate the camera image clockwise to align it with the screen . screenRotation is the angle of rotation of displaying screen image against device natural orientation in clockwise in degrees .
public virtual int imageOrientation(int screenRotation)
        {
            using (var ar = new Detail.AutoRelease())
            {
                var _return_value_ = Detail.easyar_CameraParameters_imageOrientation(cdata, screenRotation);
                return _return_value_;
            }
        }
public virtual int imageOrientation ( int screenRotation ) { using ( var ar = new Detail . AutoRelease ( ) ) { var _return_value_ = Detail . easyar_CameraParameters_imageOrientation ( cdata , screenRotation ) ; return _return_value_ ; } }
Calculates the angle required to rotate the camera image clockwise to align it with the screen.
Calculates the angle required to rotate the camera image clockwise to align it with the screen .
screenRotation
int