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

C++
public ref class GltfCameraPerspective : Microsoft::MixedReality::Toolkit::Utilities::Gltf::Schema::GltfProperty
Inheritance
GltfCameraPerspective
Attributes

Constructors

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

Proizvod Verzije
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0