// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; namespace Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema { /// /// A perspective camera containing properties to create a perspective projection /// matrix. /// https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/camera.perspective.schema.json /// [Serializable] public class GltfCameraPerspective : GltfProperty { /// /// The floating-point aspect ratio of the field of view. /// When this is undefined, the aspect ratio of the canvas is used. /// 0.0 /// public double aspectRatio; /// /// The floating-point vertical field of view in radians. /// 0.0 /// public double yFov; /// /// The floating-point distance to the far clipping plane. When defined, /// `zfar` must be greater than `znear`. /// If `zfar` is undefined, runtime must use infinite projection matrix. /// 0.0 /// public double zFar; /// /// The floating-point distance to the near clipping plane. /// 0.0 /// public double zNear; } }