Assignment for RMIT Mixed Reality in 2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.4 KiB

  1. // Base System|SDK_Base|004
  2. namespace VRTK
  3. {
  4. /// <summary>
  5. /// The Base System SDK script provides a bridge to core system SDK methods.
  6. /// </summary>
  7. /// <remarks>
  8. /// This is an abstract class to implement the interface required by all implemented SDKs.
  9. /// </remarks>
  10. public abstract class SDK_BaseSystem : SDK_Base
  11. {
  12. /// <summary>
  13. /// The IsDisplayOnDesktop method returns true if the display is extending the desktop.
  14. /// </summary>
  15. /// <returns>Returns true if the display is extending the desktop</returns>
  16. public abstract bool IsDisplayOnDesktop();
  17. /// <summary>
  18. /// The ShouldAppRenderWithLowResources method is used to determine if the Unity app should use low resource mode. Typically true when the dashboard is showing.
  19. /// </summary>
  20. /// <returns>Returns true if the Unity app should render with low resources.</returns>
  21. public abstract bool ShouldAppRenderWithLowResources();
  22. /// <summary>
  23. /// The ForceInterleavedReprojectionOn method determines whether Interleaved Reprojection should be forced on or off.
  24. /// </summary>
  25. /// <param name="force">If true then Interleaved Reprojection will be forced on, if false it will not be forced on.</param>
  26. public abstract void ForceInterleavedReprojectionOn(bool force);
  27. }
  28. }