Class GltfCameraPerspective
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
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema
Assembly: cs.temp.dll.dll
Syntax
public class GltfCameraPerspective : GltfProperty
Fields
aspectRatio
The floating-point aspect ratio of the field of view.
When this is undefined, the aspect ratio of the canvas is used.
Declaration
public double aspectRatio
Field Value
Type | Description |
---|---|
Double |
yFov
The floating-point vertical field of view in radians.
Declaration
public double yFov
Field Value
Type | Description |
---|---|
Double |
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.
Declaration
public double zFar
Field Value
Type | Description |
---|---|
Double |
zNear
The floating-point distance to the near clipping plane.
Declaration
public double zNear
Field Value
Type | Description |
---|---|
Double |