Esempio n. 1
0
 public ARCamera(ARCamera other)
 {
     _horizontalAngle = other.HorizontalAngle;
     _verticalAngle   = other.VerticalAngle;
     _width           = other.Width;
     _height          = other.Height;
 }
Esempio n. 2
0
 /// <summary>
 /// Set the specified mainCamera.
 /// </summary>
 /// <param name="mainCamera">Main camera.</param>
 public void Set(ARCamera mainCamera)
 {
     if (mainCamera == null)
     {
         throw new OutLookARException("MainCameraが初期化されていません。");
     }
     _mainCamera = mainCamera;
     if (initialize == NO)
     {
         initialize = CAMERA;
     }
     if (initialize == MAP)
     {
         initialize = ALL;
     }
 }
Esempio n. 3
0
 /// <summary>
 /// Set the specified mainCamera and mainMap.
 /// </summary>
 /// <param name="mainCamera">Main camera.</param>
 /// <param name="mainMap">Main map.</param>
 public void Set(ARCamera mainCamera, SphereMap mainMap)
 {
     Set(mainCamera);
     Set(mainMap);
 }