mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class GltfCamera

    A camera's projection. A node can reference a camera to apply a transform to place the camera in the scene https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/camera.schema.json

    Inheritance
    Object
    GltfProperty
    GltfChildOfRootProperty
    GltfCamera
    Inherited Members
    GltfChildOfRootProperty.name
    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 GltfCamera : GltfChildOfRootProperty

    Fields

    orthographic

    An orthographic camera containing properties to create an orthographic projection matrix.

    Declaration
    public GltfCameraOrthographic orthographic
    Field Value
    Type Description
    GltfCameraOrthographic

    orthographic

    An orthographic camera containing properties to create an orthographic projection matrix.

    Declaration
    public GltfCameraOrthographic orthographic
    Field Value
    Type Description
    GltfCameraOrthographic

    perspective

    A perspective camera containing properties to create a perspective projection matrix.

    Declaration
    public GltfCameraPerspective perspective
    Field Value
    Type Description
    GltfCameraPerspective

    perspective

    A perspective camera containing properties to create a perspective projection matrix.

    Declaration
    public GltfCameraPerspective perspective
    Field Value
    Type Description
    GltfCameraPerspective

    type

    Specifies if the camera uses a perspective or orthographic projection. Based on this, either the camera's perspective or orthographic property will be defined.

    Declaration
    public GltfCameraType type
    Field Value
    Type Description
    GltfCameraType

    type

    Specifies if the camera uses a perspective or orthographic projection. Based on this, either the camera's perspective or orthographic property will be defined.

    Declaration
    public GltfCameraType type
    Field Value
    Type Description
    GltfCameraType
    In This Article
    • Fields
      • orthographic
      • orthographic
      • perspective
      • perspective
      • type
      • type
    Back to top Generated by DocFX