57 lines
2.2 KiB
C#
57 lines
2.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Valve.VR
|
|
{
|
|
// Token: 0x02000214 RID: 532
|
|
[Token(Token = "0x2000085")]
|
|
public struct IVRSpatialAnchors
|
|
{
|
|
// Token: 0x04000400 RID: 1024
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40003D2")]
|
|
internal IVRSpatialAnchors._CreateSpatialAnchorFromDescriptor CreateSpatialAnchorFromDescriptor;
|
|
|
|
// Token: 0x04000401 RID: 1025
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x40003D3")]
|
|
internal IVRSpatialAnchors._CreateSpatialAnchorFromPose CreateSpatialAnchorFromPose;
|
|
|
|
// Token: 0x04000402 RID: 1026
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40003D4")]
|
|
internal IVRSpatialAnchors._GetSpatialAnchorPose GetSpatialAnchorPose;
|
|
|
|
// Token: 0x04000403 RID: 1027
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40003D5")]
|
|
internal IVRSpatialAnchors._GetSpatialAnchorDescriptor GetSpatialAnchorDescriptor;
|
|
|
|
// Token: 0x02000215 RID: 533
|
|
// (Invoke) Token: 0x06000BB1 RID: 2993
|
|
[Token(Token = "0x20002EB")]
|
|
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
|
|
internal delegate EVRSpatialAnchorError _CreateSpatialAnchorFromDescriptor(string pchDescriptor, ref uint pHandleOut);
|
|
|
|
// Token: 0x02000216 RID: 534
|
|
// (Invoke) Token: 0x06000BB5 RID: 2997
|
|
[Token(Token = "0x20002EC")]
|
|
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
|
|
internal delegate EVRSpatialAnchorError _CreateSpatialAnchorFromPose(uint unDeviceIndex, ETrackingUniverseOrigin eOrigin, ref SpatialAnchorPose_t pPose, ref uint pHandleOut);
|
|
|
|
// Token: 0x02000217 RID: 535
|
|
// (Invoke) Token: 0x06000BB9 RID: 3001
|
|
[Token(Token = "0x20002ED")]
|
|
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
|
|
internal delegate EVRSpatialAnchorError _GetSpatialAnchorPose(uint unHandle, ETrackingUniverseOrigin eOrigin, ref SpatialAnchorPose_t pPoseOut);
|
|
|
|
// Token: 0x02000218 RID: 536
|
|
// (Invoke) Token: 0x06000BBD RID: 3005
|
|
[Token(Token = "0x20002EE")]
|
|
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
|
|
internal delegate EVRSpatialAnchorError _GetSpatialAnchorDescriptor(uint unHandle, StringBuilder pchDescriptorOut, ref uint punDescriptorBufferLenInOut);
|
|
}
|
|
}
|