13 struct VROverlayChange;
14 struct VRDeviceConnectionChange;
15 struct VRResetHMDHeight;
18 public BSTEventSource<VROverlayChange>,
19 public BSTEventSource<VRDeviceConnectionChange>,
20 public BSTEventSource<VRResetHMDHeight>
25 enum class HMDDeviceType : std::uint32_t
32 enum Hand : std::uint32_t
41 # pragma pack(push, 4)
45 enum class TrackingStatus : std::uint32_t
52 TrackingStatus poseStatus;
53 NiTransform renderPoseTransform;
54 NiTransform gamePoseTransform;
56 static_assert(
sizeof(PoseTransform) == 0x6C);
66 std::uint32_t poseIndex;
67 PoseTransform* poseTransform;
76 static_assert(
sizeof(Unk118) == 0x90);
85 vr::IVROverlay* ivrOverlay;
95 static_assert(
sizeof(Unk190) == 0x68);
98 virtual void InitializeVR();
99 virtual void ShutdownVR();
100 virtual void PostPresentHandoff();
101 virtual void Submit(
void* a_directXTextureHandle);
102 virtual void SubmitForEye(vr::EVREye,
void* a_directXTextureHandle);
103 virtual void SetTrackingSpaceAsStanding();
104 virtual void SetTrackingSpaceAsSeated();
105 virtual void Unk_07(
void);
106 virtual void GetProjectionRaw(vr::EVREye eEye,
float* pfLeft,
float* pfRight,
float* pfTop,
float* pfBottom);
107 virtual NiTransform* GetEyeToHeadTransform(NiTransform& a_out,
bool getRightEye);
108 virtual NiTransform* Unk_0A(NiTransform& a_out,
bool getRightController,
bool a_unk1);
109 virtual void Unk_0B(
void);
110 virtual vr::TrackedDeviceIndex_t GetTrackedDeviceIndexForHMD();
111 virtual vr::TrackedDeviceIndex_t GetTrackedDeviceIndexForHand(
bool getRightHand);
112 virtual void TriggerHapticPulse(
bool doRightController,
float duration);
113 virtual void Unk_0F(
void);
114 virtual void Unk_10(
void);
115 virtual void Unk_11(
void);
116 virtual void Unk_12(
void);
117 virtual void Unk_13(
void);
119 virtual void Unk_15(
void);
120 virtual HMDDeviceType GetHMDDeviceType();
126 std::uint64_t unk120;
127 NiTransform renderTransform;
128 NiTransform gameTransform;
130 std::uint64_t unk198;
131 std::uint64_t unk1A0;
132 std::uint64_t unk1A8;
133 vr::IVROverlay* ivrOverlay;
134 std::uint64_t unk1B8;
135 std::uint64_t unk1C0;
136 std::uint64_t unk1C8;
137 std::uint64_t unk1D0;
138 std::uint64_t unk1D8;
139 std::uint64_t unk1E0;
140 std::uint64_t unk1E8;
141 std::uint64_t unk1F0;
142 vr::VROverlayHandle_t unk1F8;
143 bool isHeadsetTrackingOk;
147 static_assert(
sizeof(BSVRInterface) == 0x208);
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: NiSmartPointer.h:9
Definition: AbsorbEffect.h:6
constexpr REL::Offset RTTI_BSVRInterface(0x01F5FB80)