// Unity System|SDK_Unity|001 namespace VRTK { /// /// The Unity System SDK script provides a bridge to the Unity SDK. /// [SDK_Description("Unity (Standalone:Oculus)", null, "Oculus", "Standalone")] [SDK_Description("Unity (Standalone:OpenVR)", null, "OpenVR", "Standalone", 1)] [SDK_Description("Unity (Android:Cardboard)", null, "cardboard", "Android", 2)] [SDK_Description("Unity (Android:Daydream)", null, "daydream", "Android", 3)] [SDK_Description("Unity (Android:Oculus)", null, "Oculus", "Android", 4)] [SDK_Description("Unity (Android:OpenVR)", null, "OpenVR", "Android", 5)] public class SDK_UnitySystem : SDK_BaseSystem { /// /// The IsDisplayOnDesktop method returns true if the display is extending the desktop. /// /// Returns true if the display is extending the desktop public override bool IsDisplayOnDesktop() { return false; } /// /// The ShouldAppRenderWithLowResources method is used to determine if the Unity app should use low resource mode. Typically true when the dashboard is showing. /// /// Returns true if the Unity app should render with low resources. public override bool ShouldAppRenderWithLowResources() { return false; } /// /// The ForceInterleavedReprojectionOn method determines whether Interleaved Reprojection should be forced on or off. /// /// If true then Interleaved Reprojection will be forced on, if false it will not be forced on. public override void ForceInterleavedReprojectionOn(bool force) { } } }