mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class GltfCameraPerspective

    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

    Inheritance
    Object
    GltfProperty
    GltfCameraPerspective
    Inherited Members
    GltfProperty.Extensions
    GltfProperty.Extras
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema
    Assembly: cs.temp.dll.dll
    Syntax
    public class GltfCameraPerspective : GltfProperty

    Fields

    aspectRatio

    The floating-point aspect ratio of the field of view. When this is undefined, the aspect ratio of the canvas is used. 0.0

    Declaration
    public double aspectRatio
    Field Value
    Type Description
    Double

    aspectRatio

    The floating-point aspect ratio of the field of view. When this is undefined, the aspect ratio of the canvas is used. 0.0

    Declaration
    public double aspectRatio
    Field Value
    Type Description
    Double

    yFov

    The floating-point vertical field of view in radians. 0.0

    Declaration
    public double yFov
    Field Value
    Type Description
    Double

    yFov

    The floating-point vertical field of view in radians. 0.0

    Declaration
    public double yFov
    Field Value
    Type Description
    Double

    zFar

    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

    Declaration
    public double zFar
    Field Value
    Type Description
    Double

    zFar

    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

    Declaration
    public double zFar
    Field Value
    Type Description
    Double

    zNear

    The floating-point distance to the near clipping plane. 0.0

    Declaration
    public double zNear
    Field Value
    Type Description
    Double

    zNear

    The floating-point distance to the near clipping plane. 0.0

    Declaration
    public double zNear
    Field Value
    Type Description
    Double
    In This Article
    • Fields
      • aspectRatio
      • aspectRatio
      • yFov
      • yFov
      • zFar
      • zFar
      • zNear
      • zNear
    Back to top Generated by DocFX