114 lines
4.3 KiB
C#
114 lines
4.3 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using UnityEngine.Scripting;
|
|
using UnityEngine.VR;
|
|
|
|
namespace UnityEngine.Internal.VR
|
|
{
|
|
// Token: 0x020002FD RID: 765
|
|
public static class VRTestMock
|
|
{
|
|
// Token: 0x06003154 RID: 12628
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
public static extern void Reset();
|
|
|
|
// Token: 0x06003155 RID: 12629
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
public static extern void AddTrackedDevice(VRNode nodeType);
|
|
|
|
// Token: 0x06003156 RID: 12630 RVA: 0x00049B84 File Offset: 0x00047D84
|
|
public static void UpdateTrackedDevice(VRNode nodeType, Vector3 position, Quaternion rotation)
|
|
{
|
|
VRTestMock.INTERNAL_CALL_UpdateTrackedDevice(nodeType, ref position, ref rotation);
|
|
}
|
|
|
|
// Token: 0x06003157 RID: 12631
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_CALL_UpdateTrackedDevice(VRNode nodeType, ref Vector3 position, ref Quaternion rotation);
|
|
|
|
// Token: 0x06003158 RID: 12632 RVA: 0x00049B94 File Offset: 0x00047D94
|
|
public static void UpdateLeftEye(Vector3 position, Quaternion rotation)
|
|
{
|
|
VRTestMock.INTERNAL_CALL_UpdateLeftEye(ref position, ref rotation);
|
|
}
|
|
|
|
// Token: 0x06003159 RID: 12633
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_CALL_UpdateLeftEye(ref Vector3 position, ref Quaternion rotation);
|
|
|
|
// Token: 0x0600315A RID: 12634 RVA: 0x00049BA0 File Offset: 0x00047DA0
|
|
public static void UpdateRightEye(Vector3 position, Quaternion rotation)
|
|
{
|
|
VRTestMock.INTERNAL_CALL_UpdateRightEye(ref position, ref rotation);
|
|
}
|
|
|
|
// Token: 0x0600315B RID: 12635
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_CALL_UpdateRightEye(ref Vector3 position, ref Quaternion rotation);
|
|
|
|
// Token: 0x0600315C RID: 12636 RVA: 0x00049BAC File Offset: 0x00047DAC
|
|
public static void UpdateCenterEye(Vector3 position, Quaternion rotation)
|
|
{
|
|
VRTestMock.INTERNAL_CALL_UpdateCenterEye(ref position, ref rotation);
|
|
}
|
|
|
|
// Token: 0x0600315D RID: 12637
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_CALL_UpdateCenterEye(ref Vector3 position, ref Quaternion rotation);
|
|
|
|
// Token: 0x0600315E RID: 12638 RVA: 0x00049BB8 File Offset: 0x00047DB8
|
|
public static void UpdateHead(Vector3 position, Quaternion rotation)
|
|
{
|
|
VRTestMock.INTERNAL_CALL_UpdateHead(ref position, ref rotation);
|
|
}
|
|
|
|
// Token: 0x0600315F RID: 12639
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_CALL_UpdateHead(ref Vector3 position, ref Quaternion rotation);
|
|
|
|
// Token: 0x06003160 RID: 12640 RVA: 0x00049BC4 File Offset: 0x00047DC4
|
|
public static void UpdateLeftHand(Vector3 position, Quaternion rotation)
|
|
{
|
|
VRTestMock.INTERNAL_CALL_UpdateLeftHand(ref position, ref rotation);
|
|
}
|
|
|
|
// Token: 0x06003161 RID: 12641
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_CALL_UpdateLeftHand(ref Vector3 position, ref Quaternion rotation);
|
|
|
|
// Token: 0x06003162 RID: 12642 RVA: 0x00049BD0 File Offset: 0x00047DD0
|
|
public static void UpdateRightHand(Vector3 position, Quaternion rotation)
|
|
{
|
|
VRTestMock.INTERNAL_CALL_UpdateRightHand(ref position, ref rotation);
|
|
}
|
|
|
|
// Token: 0x06003163 RID: 12643
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_CALL_UpdateRightHand(ref Vector3 position, ref Quaternion rotation);
|
|
|
|
// Token: 0x06003164 RID: 12644
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
public static extern void AddController(string controllerName);
|
|
|
|
// Token: 0x06003165 RID: 12645
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
public static extern void UpdateControllerAxis(string controllerName, int axis, float value);
|
|
|
|
// Token: 0x06003166 RID: 12646
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
public static extern void UpdateControllerButton(string controllerName, int button, bool pressed);
|
|
}
|
|
}
|