Class Utils
Inherited Members
Namespace: Unity.XR.Oculus
Assembly: solution.dll
Syntax
public static class Utils
Properties
Name | Description |
---|---|
eye |
Gets or sets whether eye tracked foveated rendering is enabled or not. |
eye |
Returns whether or not eye tracked foveated rendering (ETFR) is supported. You cannot enable ETFR using eyeTrackedFoveatedRenderingEnabled if the feature isn't supported. |
foveated |
Gets or sets the foveated rendering level. This works for both FFR and ETFR level can be 0, 1, 2, 3, or 4:
|
use |
Gets or sets dynamic foveated rendering which will change the foveated rendering level automatically based on the current performance. Works for both FFR and ETFR. |
Methods
Name | Description |
---|---|
Enable |
Enable or disable dynamic foveated rendering. Only supported on mobile. See Oculus Documention. |
Get |
Returns the level of foveated rendering. Only supported on mobile. See Oculus Documentation. |
Get |
Returns the type of the current headset |
Is |
Returns true if the user has allowed the Eye Tracking permission. |
Set |
Set the color scale and color offset of the eye texture layers |
Set |
Set the degree of foveation. Only supported on mobile. See Oculus Documention. |