GltfCamera Class

Definition

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

public ref class GltfCamera : Microsoft::MixedReality::Toolkit::Utilities::Gltf::Schema::GltfChildOfRootProperty
public ref class GltfCamera : Microsoft::MixedReality::Toolkit::Utilities::Gltf::Schema::GltfChildOfRootProperty, UnityEngine::ISerializationCallbackReceiver
[System.Serializable]
public class GltfCamera : Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema.GltfChildOfRootProperty
[System.Serializable]
public class GltfCamera : Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema.GltfChildOfRootProperty, UnityEngine.ISerializationCallbackReceiver
[<System.Serializable>]
type GltfCamera = class
    inherit GltfChildOfRootProperty
[<System.Serializable>]
type GltfCamera = class
    inherit GltfChildOfRootProperty
    interface ISerializationCallbackReceiver
Public Class GltfCamera
Inherits GltfChildOfRootProperty
Public Class GltfCamera
Inherits GltfChildOfRootProperty
Implements ISerializationCallbackReceiver
Inheritance
Attributes
Implements
UnityEngine.ISerializationCallbackReceiver

Constructors

GltfCamera()

Fields

Extensions

https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/extension.schema.json

(Inherited from GltfProperty)
Extras

https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/extras.schema.json

(Inherited from GltfProperty)
name

The user-defined name of this object. This is not necessarily unique, e.g., an accessor and a buffer could have the same name, or two accessors could even have the same name.

(Inherited from GltfChildOfRootProperty)
orthographic

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

perspective

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

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.

Properties

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.

Explicit Interface Implementations

ISerializationCallbackReceiver.OnAfterDeserialize()
ISerializationCallbackReceiver.OnBeforeSerialize()

Applies to