CommonLibVR
Loading...
Searching...
No Matches
FreeCameraState.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTPoint.h"
4#include "RE/N/NiPoint3.h"
7
8namespace RE
9{
10 class NiNode;
11
13 public TESCameraState, // 00
14 public PlayerInputHandler // 20
15 {
16 public:
17 inline static constexpr auto RTTI = RTTI_FreeCameraState;
18 inline static constexpr auto VTABLE = VTABLE_FreeCameraState;
19
20 ~FreeCameraState() override; // 00
21
22 // override (TESCameraState)
23 void Begin() override; // 01
24 void End() override; // 02
25 void Update(BSTSmartPointer<TESCameraState>& a_nextState) override; // 03
26 void GetRotation(NiQuaternion& a_rotation) override; // 04
27 void GetTranslation(NiPoint3& a_translation) override; // 05
28
29 // override (PlayerInputHandler)
30 bool CanProcess(InputEvent* a_event) override; // 01
31 void ProcessButton(ButtonEvent* a_event, PlayerControlsData* a_movementData) override; // 04
32
33 // members
37 std::int16_t verticalDirection; // 4C
38 bool useRunSpeed; // 4E
39 bool lockToZPlane; // 4F
40 private:
42 };
43#ifndef SKYRIMVR
44 static_assert(sizeof(FreeCameraState) == 0x50);
45#else
46 static_assert(sizeof(FreeCameraState) == 0x68);
47#endif
48}
#define KEEP_FOR_RE()
Definition PCH.h:517
Definition BSTPoint.h:26
Definition BSTSmartPointer.h:37
Definition ButtonEvent.h:16
Definition FreeCameraState.h:15
void GetRotation(NiQuaternion &a_rotation) override
~FreeCameraState() override
void GetTranslation(NiPoint3 &a_translation) override
BSTPoint2< float > zUpDown
Definition FreeCameraState.h:36
NiPoint3 translation
Definition FreeCameraState.h:34
bool CanProcess(InputEvent *a_event) override
std::int16_t verticalDirection
Definition FreeCameraState.h:37
void End() override
void ProcessButton(ButtonEvent *a_event, PlayerControlsData *a_movementData) override
static constexpr auto RTTI
Definition FreeCameraState.h:17
static constexpr auto VTABLE
Definition FreeCameraState.h:18
void Update(BSTSmartPointer< TESCameraState > &a_nextState) override
void Begin() override
BSTPoint2< float > rotation
Definition FreeCameraState.h:35
bool lockToZPlane
Definition FreeCameraState.h:39
bool useRunSpeed
Definition FreeCameraState.h:38
Definition InputEvent.h:25
Definition NiPoint3.h:6
Definition NiQuaternion.h:6
Definition PlayerControlsData.h:8
Definition PlayerInputHandler.h:13
Definition TESCameraState.h:16
Definition AbsorbEffect.h:6
constexpr REL::ID RTTI_FreeCameraState(static_cast< std::uint64_t >(688786))
constexpr std::array< REL::ID, 2 > VTABLE_FreeCameraState
Definition Offsets_VTABLE.h:11673