Guides
Guides

SDK_OculusVRSystem

Overview

The Oculus System SDK script provides a bridge to the Oculus SDK.

Class Methods

IsDisplayOnDesktop/0

public override bool IsDisplayOnDesktop()

  • Parameters
    • none
  • Returns
    • bool - Returns true if the display is extending the desktop

The IsDisplayOnDesktop method returns true if the display is extending the desktop.

ShouldAppRenderWithLowResources/0

public override bool ShouldAppRenderWithLowResources()

  • Parameters
    • none
  • Returns
    • bool - Returns true if the Unity app should render with low resources.

The ShouldAppRenderWithLowResources method is used to determine if the Unity app should use low resource mode. Typically true when the dashboard is showing.

ForceInterleavedReprojectionOn/1

public override void ForceInterleavedReprojectionOn(bool force)

  • Parameters
    • bool force - If true then Interleaved Reprojection will be forced on, if false it will not be forced on.
  • Returns
    • none

The ForceInterleavedReprojectionOn method determines whether Interleaved Reprojection should be forced on or off.