public ARCamera(ARCamera other) { _horizontalAngle = other.HorizontalAngle; _verticalAngle = other.VerticalAngle; _width = other.Width; _height = other.Height; }
/// <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; } }
/// <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); }