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.

35 lines
1.0 KiB

  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 NetSyncVoipAttenuationValue
  10. {
  11. public readonly float Decibels;
  12. public readonly float Distance;
  13. public NetSyncVoipAttenuationValue(IntPtr o)
  14. {
  15. Decibels = CAPI.ovr_NetSyncVoipAttenuationValue_GetDecibels(o);
  16. Distance = CAPI.ovr_NetSyncVoipAttenuationValue_GetDistance(o);
  17. }
  18. }
  19. public class NetSyncVoipAttenuationValueList : DeserializableList<NetSyncVoipAttenuationValue> {
  20. public NetSyncVoipAttenuationValueList(IntPtr a) {
  21. var count = (int)CAPI.ovr_NetSyncVoipAttenuationValueArray_GetSize(a);
  22. _Data = new List<NetSyncVoipAttenuationValue>(count);
  23. for (int i = 0; i < count; i++) {
  24. _Data.Add(new NetSyncVoipAttenuationValue(CAPI.ovr_NetSyncVoipAttenuationValueArray_GetElement(a, (UIntPtr)i)));
  25. }
  26. }
  27. }
  28. }