Struct XrFovf
Field of view.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public struct XrFovf
Constructors
XrFovf(float, float, float, float)
Creates a new field of view definition with the specified left, right, up, and down angles.
Declaration
public XrFovf(float angleLeft, float angleRight, float angleUp, float angleDown)
Parameters
Type | Name | Description |
---|---|---|
float | angleLeft | The angle of the left side of the field of view in radians. |
float | angleRight | The angle of the right side of the field of view in radians. |
float | angleUp | The angle of the top part of the field of view in radians. |
float | angleDown | The angle of the bottom part of the field of view in radians. |
Fields
AngleDown
The angle of the bottom part of the field of view. For a symmetric field of view this value is negative.
Declaration
public float AngleDown
Field Value
Type | Description |
---|---|
float |
AngleLeft
The angle of the left side of the field of view. For a symmetric field of view this value is negative.
Declaration
public float AngleLeft
Field Value
Type | Description |
---|---|
float |
AngleRight
The angle of the right side of the field of view.
Declaration
public float AngleRight
Field Value
Type | Description |
---|---|
float |
AngleUp
The angle of the top part of the field of view.
Declaration
public float AngleUp
Field Value
Type | Description |
---|---|
float |