internal static unsafe (Vector, Vector, Vector, Vector, float) Invoke(ETrackedDeviceType DeviceType) { long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L }; byte *b = (byte *)p; *(b + 52) = (byte)DeviceType; Main.GetProcessEvent(OculusFunctionLibrary.DefaultObject, GetRawSensorData_ptr, new IntPtr(p));; return(*((Vector *)(b + 0)), *((Vector *)(b + 12)), *((Vector *)(b + 24)), *((Vector *)(b + 36)), *((float *)(b + 48))); } }
internal static unsafe bool Invoke(ETrackedDeviceType DeviceType) { long *p = stackalloc long[] { 0L, 0L }; byte *b = (byte *)p; *(b + 0) = (byte)DeviceType; Main.GetProcessEvent(OculusFunctionLibrary.DefaultObject, IsDeviceTracked_ptr, new IntPtr(p));; return(*((bool *)(b + 1))); } }
internal static unsafe GuardianTestResult Invoke(ETrackedDeviceType DeviceType, EBoundaryType BoundaryType) { long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L }; byte *b = (byte *)p; *(b + 0) = (byte)DeviceType; *(b + 1) = (byte)BoundaryType; Main.GetProcessEvent(OculusFunctionLibrary.DefaultObject, GetNodeGuardianIntersection_ptr, new IntPtr(p));; return(*((GuardianTestResult *)(b + 4))); } }