CommonLibSSE (Parapets fork)
TESCamera.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTPoint.h"
4 #include "RE/B/BSTSmartPointer.h"
5 #include "RE/N/NiNode.h"
6 #include "RE/N/NiSmartPointer.h"
7 
8 namespace RE
9 {
10  class TESCameraState;
11 
12  class TESCamera
13  {
14  public:
15  inline static constexpr auto RTTI = RTTI_TESCamera;
16 
17  virtual ~TESCamera(); // 00
18 
19  virtual void SetCameraRoot(NiPointer<NiNode> a_root); // 01 - { if (cameraRoot != a_root) cameraRoot = a_root; }
20  virtual void Update(); // 02
21 
22  void SetState(TESCameraState* a_state);
23 
24  // members
27  float zoomInput; // 1C
30  bool enabled; // 30
31  std::uint8_t pad31; // 31
32  std::uint16_t pad32; // 32
33  std::uint32_t pad34; // 34
34  };
35  static_assert(sizeof(TESCamera) == 0x38);
36 }
Definition: BSTSmartPointer.h:37
Definition: NiSmartPointer.h:9
Definition: TESCameraState.h:16
Definition: TESCamera.h:13
std::uint32_t pad34
Definition: TESCamera.h:33
float zoomInput
Definition: TESCamera.h:27
std::uint16_t pad32
Definition: TESCamera.h:32
NiPointer< NiNode > cameraRoot
Definition: TESCamera.h:28
bool enabled
Definition: TESCamera.h:30
static constexpr auto RTTI
Definition: TESCamera.h:15
std::uint8_t pad31
Definition: TESCamera.h:31
virtual ~TESCamera()
void SetState(TESCameraState *a_state)
BSTPoint3< float > translationInput
Definition: TESCamera.h:26
BSTPoint2< float > rotationInput
Definition: TESCamera.h:25
BSTSmartPointer< TESCameraState > currentState
Definition: TESCamera.h:29
virtual void SetCameraRoot(NiPointer< NiNode > a_root)
virtual void Update()
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_TESCamera
Definition: Offsets_RTTI.h:5977