namespace UnityEngine.XR.MagicLeap
{
using System;
using System.Runtime.InteropServices;
public partial class MLEyeCalibration
{
private class NativeBindings : Native.MagicLeapNativeBindings
{
[StructLayout(LayoutKind.Sequential)]
public struct MLEyeCalibrationState
{
public uint Version;
public Status EyeCalibration;
public long EpochTimestampUs;
public static MLEyeCalibrationState Create() => new() { Version = 1 };
};
[DllImport(MLPerceptionClientDll, CallingConvention = CallingConvention.Cdecl)]
public static extern MLResult.Code MLEyeCalibrationCreateClient(out ulong OutHandle);
[DllImport(MLPerceptionClientDll, CallingConvention = CallingConvention.Cdecl)]
public static extern MLResult.Code MLEyeCalibrationDestroyClient(ulong Handle);
[DllImport(MLPerceptionClientDll, CallingConvention = CallingConvention.Cdecl)]
public static extern MLResult.Code MLEyeCalibrationGetState(ulong Handle, out MLEyeCalibrationState OutState);
}
}
}