namespace UnityEngine.XR.MagicLeap
{
using System;
using System.Runtime.InteropServices;
public partial class MLHeadsetFit
{
private class NativeBindings : Native.MagicLeapNativeBindings
{
[StructLayout(LayoutKind.Sequential)]
public struct MLHeadsetFitState
{
public uint Version;
public Status FitStatus;
public long EpochTimestampUs;
public static MLHeadsetFitState Create() => new() { Version = 1 };
};
[DllImport(MLPerceptionClientDll, CallingConvention = CallingConvention.Cdecl)]
public static extern MLResult.Code MLHeadsetFitDestroyClient(ulong handle);
[DllImport(MLPerceptionClientDll, CallingConvention = CallingConvention.Cdecl)]
public static extern MLResult.Code MLHeadsetFitCreateClient(out ulong handle);
[DllImport(MLPerceptionClientDll, CallingConvention = CallingConvention.Cdecl)]
public static extern MLResult.Code MLHeadsetFitGetState(ulong handle, out MLHeadsetFitState state);
}
}
}