CommonLibSSE NG
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"
6 #include "RE/T/TESCameraState.h"
7 
8 namespace 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  };
41  static_assert(sizeof(FreeCameraState) == 0x50);
42 }
Definition: BSTSmartPointer.h:36
Definition: ButtonEvent.h:11
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:12
Definition: TESCameraState.h:16
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_FreeCameraState(688786, 396638, 0x1f45cd0)
constexpr std::array< REL::VariantID, 2 > VTABLE_FreeCameraState
Definition: Offsets_VTABLE.h:3987