unreal.OculusXrApi

class unreal.OculusXrApi

Bases: unreal.EnumBase

EOculus Xr Api

C++ Source:

  • Plugin: OculusVR

  • Module: OculusHMD

  • File: OculusFunctionLibrary.h

LEGACY_OVR_PLUGIN

Legacy Oculus SDK. Epic is no longer developing for this SDK, and it should only be used if there are features required for a project that are not yet supported through OpenXR, but it’s hard to guarantee potential bugs will be fixed as it’s not in active development at Epic. Epic recommends Native OpenXR instead, as that will be the main development focus going forward.

Type

0

NATIVE_OPEN_XR

Disable Legacy Oculus in favor of the native OpenXR implementation, with Oculus vendor extensions. Must enable the OpenXR plugin. This will be where Epic focuses XR development going forward. Oculus OpenXR extensions may be moved into a separate plugin (or plugins) in the future to improve modularity. The features supported by OpenXR are listed in the OpenXR specification on khronos.org, and the features supported by a given runtime can be verified with the "OpenXR Explorer" application on GitHub.

Type

2

OVR_PLUGIN_OPEN_XR

Legacy Oculus SDK using an OpenXR backend. Experimental. Epic recommends Native OpenXR instead, as that will be the main development focus going forward.

Type

1