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.

36 lines
1.4 KiB

  1. // Simulator System|SDK_Simulator|001
  2. namespace VRTK
  3. {
  4. /// <summary>
  5. /// The Sim System SDK script provides dummy functions for system functions.
  6. /// </summary>
  7. [SDK_Description("Simulator (Standalone)", null, null, "Standalone")]
  8. public class SDK_SimSystem : SDK_BaseSystem
  9. {
  10. /// <summary>
  11. /// The IsDisplayOnDesktop method returns true if the display is extending the desktop.
  12. /// </summary>
  13. /// <returns>Returns true if the display is extending the desktop</returns>
  14. public override bool IsDisplayOnDesktop()
  15. {
  16. return false;
  17. }
  18. /// <summary>
  19. /// The ShouldAppRenderWithLowResources method is used to determine if the Unity app should use low resource mode. Typically true when the dashboard is showing.
  20. /// </summary>
  21. /// <returns>Returns true if the Unity app should render with low resources.</returns>
  22. public override bool ShouldAppRenderWithLowResources()
  23. {
  24. return false;
  25. }
  26. /// <summary>
  27. /// The ForceInterleavedReprojectionOn method determines whether Interleaved Reprojection should be forced on or off.
  28. /// </summary>
  29. /// <param name="force">If true then Interleaved Reprojection will be forced on, if false it will not be forced on.</param>
  30. public override void ForceInterleavedReprojectionOn(bool force)
  31. {
  32. }
  33. }
  34. }