Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

104 lines
3.2 KiB
C#

using System;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
using UnityEngine.Bindings;
using UnityEngine.Scripting;
namespace UnityEngine.XR
{
// Token: 0x02000007 RID: 7
[Token(Token = "0x2000007")]
[NativeConditional("ENABLE_VR")]
public static class XRDevice
{
// Token: 0x17000010 RID: 16
// (get) Token: 0x0600001A RID: 26 RVA: 0x000021D4 File Offset: 0x000003D4
[Token(Token = "0x17000010")]
[StaticAccessor("GetIVRDevice()", StaticAccessorType.ArrowWithDefaultReturnIfNull)]
[NativeName("DeviceConnected")]
public static bool isPresent
{
[Token(Token = "0x600001A")]
[Address(RVA = "0x1226770", Offset = "0x1225770", VA = "0x181226770")]
get
{
return default(bool);
}
}
// Token: 0x17000011 RID: 17
// (get) Token: 0x0600001B RID: 27 RVA: 0x000021B6 File Offset: 0x000003B6
[Token(Token = "0x17000011")]
[Obsolete]
[NativeName("DeviceModel")]
[StaticAccessor("GetIVRDevice()", StaticAccessorType.ArrowWithDefaultReturnIfNull)]
[Obsolete("This is obsolete, and should no longer be used. Please use InputDevice.name.")]
public static string model
{
[Token(Token = "0x600001B")]
[Address(RVA = "0x12267A0", Offset = "0x12257A0", VA = "0x1812267A0")]
get
{
return null;
}
}
// Token: 0x0600001C RID: 28 RVA: 0x000021EC File Offset: 0x000003EC
[Token(Token = "0x600001C")]
[Address(RVA = "0x12264F0", Offset = "0x12254F0", VA = "0x1812264F0")]
[StaticAccessor("GetIVRDevice()", StaticAccessorType.ArrowWithDefaultReturnIfNull)]
public static IntPtr GetNativePtr()
{
return 0;
}
// Token: 0x0600001D RID: 29 RVA: 0x00002204 File Offset: 0x00000404
[Token(Token = "0x600001D")]
[Address(RVA = "0x12265D0", Offset = "0x12255D0", VA = "0x1812265D0")]
[Obsolete]
[Obsolete("This is obsolete, and should no longer be used. Please use XRInputSubsystem.TrySetTrackingOriginMode.")]
[StaticAccessor("GetIVRDevice()", StaticAccessorType.ArrowWithDefaultReturnIfNull)]
public static bool SetTrackingSpaceType(TrackingSpaceType trackingSpaceType)
{
return default(bool);
}
// Token: 0x0600001E RID: 30 RVA: 0x00002096 File Offset: 0x00000296
[Token(Token = "0x600001E")]
[Address(RVA = "0x1226610", Offset = "0x1225610", VA = "0x181226610")]
[StaticAccessor("GetIVRDevice()", StaticAccessorType.ArrowWithDefaultReturnIfNull)]
[NativeName("UpdateEyeTextureMSAASetting")]
public static void UpdateEyeTextureMSAASetting()
{
}
// Token: 0x14000001 RID: 1
// (add) Token: 0x0600001F RID: 31 RVA: 0x00002096 File Offset: 0x00000296
// (remove) Token: 0x06000020 RID: 32 RVA: 0x00002096 File Offset: 0x00000296
[Token(Token = "0x14000001")]
public static event Action<string> deviceLoaded
{
[Token(Token = "0x600001F")]
[Address(RVA = "0x1226680", Offset = "0x1225680", VA = "0x181226680")]
[CompilerGenerated]
add
{
}
[Token(Token = "0x6000020")]
[Address(RVA = "0x12267D0", Offset = "0x12257D0", VA = "0x1812267D0")]
[CompilerGenerated]
remove
{
}
}
// Token: 0x06000021 RID: 33 RVA: 0x00002096 File Offset: 0x00000296
[Token(Token = "0x6000021")]
[Address(RVA = "0x1226520", Offset = "0x1225520", VA = "0x181226520")]
[RequiredByNativeCode]
private static void InvokeDeviceLoaded(string loadedDeviceName)
{
}
}
}