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
Inherited Members
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 |
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 |