Class CameraPerspective
A perspective camera containing properties to create a perspective projection matrix.
Inherited Members
Namespace: GLTFast.Schema
Assembly: glTFast.dll
Syntax
[Serializable]
public class CameraPerspective
Fields
aspectRatio
The floating-point aspect ratio of the field of view.
Declaration
public float aspectRatio
Field Value
| Type | Description |
|---|---|
| float |
yfov
The floating-point vertical field of view in radians.
Declaration
public float yfov
Field Value
| Type | Description |
|---|---|
| float |
zfar
The floating-point distance to the far clipping plane.
Declaration
public float zfar
Field Value
| Type | Description |
|---|---|
| float |
znear
The floating-point distance to the near clipping plane.
Declaration
public float znear
Field Value
| Type | Description |
|---|---|
| float |