Class XrEyeVisibility
Specifies which eye to display a composition layer to, as defined by the OpenXR specification.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public static class XrEyeVisibility
Fields
Both
The layer is visible to both eyes.
Declaration
public const uint Both = 0
Field Value
| Type | Description |
|---|---|
| uint |
Left
The layer is visible to the left eye only.
Declaration
public const uint Left = 1
Field Value
| Type | Description |
|---|---|
| uint |
Right
The layer is visible to the right eye only.
Declaration
public const uint Right = 2
Field Value
| Type | Description |
|---|---|
| uint |