Files
2026-06-04 11:42:34 +02:00

94 lines
3.3 KiB
C#

using System;
using System.Runtime.CompilerServices;
using UnityEngine.Scripting;
namespace UnityEngine
{
// Token: 0x020002A1 RID: 673
public sealed class ClusterInput
{
// Token: 0x06002D9C RID: 11676
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float GetAxis(string name);
// Token: 0x06002D9D RID: 11677
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern bool GetButton(string name);
// Token: 0x06002D9E RID: 11678 RVA: 0x00041438 File Offset: 0x0003F638
public static Vector3 GetTrackerPosition(string name)
{
Vector3 vector;
ClusterInput.INTERNAL_CALL_GetTrackerPosition(name, out vector);
return vector;
}
// Token: 0x06002D9F RID: 11679
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void INTERNAL_CALL_GetTrackerPosition(string name, out Vector3 value);
// Token: 0x06002DA0 RID: 11680 RVA: 0x00041458 File Offset: 0x0003F658
public static Quaternion GetTrackerRotation(string name)
{
Quaternion quaternion;
ClusterInput.INTERNAL_CALL_GetTrackerRotation(name, out quaternion);
return quaternion;
}
// Token: 0x06002DA1 RID: 11681
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void INTERNAL_CALL_GetTrackerRotation(string name, out Quaternion value);
// Token: 0x06002DA2 RID: 11682
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern void SetAxis(string name, float value);
// Token: 0x06002DA3 RID: 11683
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern void SetButton(string name, bool value);
// Token: 0x06002DA4 RID: 11684 RVA: 0x00041478 File Offset: 0x0003F678
public static void SetTrackerPosition(string name, Vector3 value)
{
ClusterInput.INTERNAL_CALL_SetTrackerPosition(name, ref value);
}
// Token: 0x06002DA5 RID: 11685
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void INTERNAL_CALL_SetTrackerPosition(string name, ref Vector3 value);
// Token: 0x06002DA6 RID: 11686 RVA: 0x00041484 File Offset: 0x0003F684
public static void SetTrackerRotation(string name, Quaternion value)
{
ClusterInput.INTERNAL_CALL_SetTrackerRotation(name, ref value);
}
// Token: 0x06002DA7 RID: 11687
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void INTERNAL_CALL_SetTrackerRotation(string name, ref Quaternion value);
// Token: 0x06002DA8 RID: 11688
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern bool AddInput(string name, string deviceName, string serverUrl, int index, ClusterInputType type);
// Token: 0x06002DA9 RID: 11689
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern bool EditInput(string name, string deviceName, string serverUrl, int index, ClusterInputType type);
// Token: 0x06002DAA RID: 11690
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern bool CheckConnectionToServer(string name);
}
}