GltfCameraPerspective Class

Definition

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

public ref class GltfCameraPerspective : Microsoft::MixedReality::Toolkit::Utilities::Gltf::Schema::GltfProperty
[System.Serializable]
public class GltfCameraPerspective : Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema.GltfProperty
[<System.Serializable>]
type GltfCameraPerspective = class
    inherit GltfProperty
Public Class GltfCameraPerspective
Inherits GltfProperty
Inheritance
GltfCameraPerspective
Attributes

Constructors

GltfCameraPerspective()

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

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)
yFov

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

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

zNear

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

Applies to