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.

33 lines
688 B

  1. // This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!
  2. namespace Oculus.Platform.Models
  3. {
  4. using System;
  5. using System.Collections;
  6. using Oculus.Platform.Models;
  7. using System.Collections.Generic;
  8. using UnityEngine;
  9. public class Pid
  10. {
  11. public readonly string Id;
  12. public Pid(IntPtr o)
  13. {
  14. Id = CAPI.ovr_Pid_GetId(o);
  15. }
  16. }
  17. public class PidList : DeserializableList<Pid> {
  18. public PidList(IntPtr a) {
  19. var count = (int)CAPI.ovr_PidArray_GetSize(a);
  20. _Data = new List<Pid>(count);
  21. for (int i = 0; i < count; i++) {
  22. _Data.Add(new Pid(CAPI.ovr_PidArray_GetElement(a, (UIntPtr)i)));
  23. }
  24. }
  25. }
  26. }