internal static unsafe (bool, Rotator, bool, Vector) Invoke(XRDeviceId XRDeviceId) { long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L }; byte *b = (byte *)p; *((XRDeviceId *)(b + 0)) = XRDeviceId; Main.GetProcessEvent(HeadMountedDisplayFunctionLibrary.DefaultObject, GetDevicePose_ptr, new IntPtr(p));; return(*((bool *)(b + 16)), *((Rotator *)(b + 20)), *((bool *)(b + 32)), *((Vector *)(b + 36))); } }
internal static unsafe bool Invoke(XRDeviceId XRDeviceId) { long *p = stackalloc long[] { 0L, 0L, 0L, 0L }; byte *b = (byte *)p; *((XRDeviceId *)(b + 0)) = XRDeviceId; Main.GetProcessEvent(HeadMountedDisplayFunctionLibrary.DefaultObject, IsDeviceTracking_ptr, new IntPtr(p));; return(*((bool *)(b + 16))); } }
internal static unsafe PrimitiveComponent Invoke(Actor Target, XRDeviceId XRDeviceId, bool bManualAttachment, Transform RelativeTransform) { long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L }; byte *b = (byte *)p; *((IntPtr *)(b + 0)) = Target; *((XRDeviceId *)(b + 8)) = XRDeviceId; *((bool *)(b + 24)) = bManualAttachment; *((Transform *)(b + 32)) = RelativeTransform; Main.GetProcessEvent(XRAssetFunctionLibrary.DefaultObject, AddDeviceVisualizationComponentBlocking_ptr, new IntPtr(p));; return(*((IntPtr *)(b + 80))); } }