Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

95 lines
2.9 KiB
C#

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
using UnityEngine.Bindings;
using UnityEngine.Scripting;
namespace UnityEngine.XR
{
// Token: 0x02000002 RID: 2
[Token(Token = "0x2000002")]
[RequiredByNativeCode]
[NativeConditional("ENABLE_VR")]
[StaticAccessor("XRInputTrackingFacade::Get()", StaticAccessorType.Dot)]
[NativeHeader("Modules/XR/Subsystems/Input/Public/XRInputTrackingFacade.h")]
public static class InputTracking
{
// Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000001")]
[Address(RVA = "0x723740", Offset = "0x722540", VA = "0x180723740")]
[RequiredByNativeCode]
private static void InvokeTrackingEvent(InputTracking.TrackingStateEventType eventType, XRNode nodeType, long uniqueID, bool tracked)
{
}
// Token: 0x06000002 RID: 2 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000002")]
[Address(RVA = "0x723970", Offset = "0x722770", VA = "0x180723970")]
[Obsolete]
[NativeConditional("ENABLE_VR")]
[Obsolete("This API is obsolete, and should no longer be used. Please use XRInputSubsystem.TryRecenter() instead.")]
public static void Recenter()
{
}
// Token: 0x06000003 RID: 3 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000003")]
[Address(RVA = "0x723680", Offset = "0x722480", VA = "0x180723680")]
public static void GetNodeStates(List<XRNodeState> nodeStates)
{
}
// Token: 0x06000004 RID: 4 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000004")]
[Address(RVA = "0x723640", Offset = "0x722440", VA = "0x180723640")]
[NativeConditional("ENABLE_VR")]
private static void GetNodeStates_Internal([NotNull] List<XRNodeState> nodeStates)
{
}
// Token: 0x04000001 RID: 1
[Token(Token = "0x4000001")]
[CompilerGenerated]
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private static Action<XRNodeState> trackingAcquired;
// Token: 0x04000002 RID: 2
[Token(Token = "0x4000002")]
[CompilerGenerated]
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private static Action<XRNodeState> trackingLost;
// Token: 0x04000003 RID: 3
[Token(Token = "0x4000003")]
[CompilerGenerated]
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private static Action<XRNodeState> nodeAdded;
// Token: 0x04000004 RID: 4
[Token(Token = "0x4000004")]
[CompilerGenerated]
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private static Action<XRNodeState> nodeRemoved;
// Token: 0x02000003 RID: 3
[Token(Token = "0x2000003")]
private enum TrackingStateEventType
{
// Token: 0x04000006 RID: 6
[Token(Token = "0x4000006")]
NodeAdded,
// Token: 0x04000007 RID: 7
[Token(Token = "0x4000007")]
NodeRemoved,
// Token: 0x04000008 RID: 8
[Token(Token = "0x4000008")]
TrackingAcquired,
// Token: 0x04000009 RID: 9
[Token(Token = "0x4000009")]
TrackingLost
}
}
}