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.

45 lines
1.0 KiB

  1. // This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
  2. namespace Oculus.Platform
  3. {
  4. using System;
  5. using System.Collections;
  6. using Oculus.Platform.Models;
  7. using System.Collections.Generic;
  8. using UnityEngine;
  9. public class UserOptions {
  10. public UserOptions() {
  11. Handle = CAPI.ovr_UserOptions_Create();
  12. }
  13. public void SetMaxUsers(uint value) {
  14. CAPI.ovr_UserOptions_SetMaxUsers(Handle, value);
  15. }
  16. public void AddServiceProvider(ServiceProvider value) {
  17. CAPI.ovr_UserOptions_AddServiceProvider(Handle, value);
  18. }
  19. public void ClearServiceProviders() {
  20. CAPI.ovr_UserOptions_ClearServiceProviders(Handle);
  21. }
  22. public void SetTimeWindow(TimeWindow value) {
  23. CAPI.ovr_UserOptions_SetTimeWindow(Handle, value);
  24. }
  25. // For passing to native C
  26. public static explicit operator IntPtr(UserOptions options) {
  27. return options != null ? options.Handle : IntPtr.Zero;
  28. }
  29. ~UserOptions() {
  30. CAPI.ovr_UserOptions_Destroy(Handle);
  31. }
  32. IntPtr Handle;
  33. }
  34. }