Class MetaOpenXRDisplaySubsystemExtensions
Meta OpenXR extension methods for the XRDisplaySubsystem.
Important
These extension methods require that you enable the Meta OpenXR Display Utilities feature in Project Settings > XR Plug-in Management > OpenXR. If the display utilities feature is not enabled, all extension methods will return false.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.Features.Meta
Assembly: solution.dll
Syntax
public static class MetaOpenXRDisplaySubsystemExtensions
Methods
Name | Description |
---|---|
TryGetSupportedDisplayRefreshRates(XRDisplaySubsystem, Allocator, out NativeArray<float>) | Attempts to get the supported display refresh rates for the device. |
TryRequestDisplayRefreshRate(XRDisplaySubsystem, float) | Attempts to request a change to the current display refresh rate. If the request is successfully created, Meta's OpenXR runtime is expected to change the display refresh rate on a subsequent frame. |