We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    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
    [Serializable]
    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

    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
    In This Article
    Back to top Generated by DocFX