CommonLibVR
Loading...
Searching...
No Matches
TESCamera.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTPoint.h"
5#include "RE/N/NiNode.h"
7
8namespace RE
9{
10 class TESCameraState;
11
13 {
14 public:
15 inline static constexpr auto RTTI = RTTI_TESCamera;
16 inline static constexpr auto VTABLE = VTABLE_TESCamera;
17
18 virtual ~TESCamera(); // 00
19
20 virtual void SetCameraRoot(NiPointer<NiNode> a_root); // 01 - { if (cameraRoot != a_root) cameraRoot = a_root; }
21 virtual void Update(); // 02
22
23 void SetState(TESCameraState* a_state);
24
25 // members
28 float zoomInput; // 1C
31 bool enabled; // 30
32 std::uint8_t pad31; // 31
33 std::uint16_t pad32; // 32
34 std::uint32_t pad34; // 34
35 private:
37 };
38 static_assert(sizeof(TESCamera) == 0x38);
39}
#define KEEP_FOR_RE()
Definition PCH.h:517
Definition BSTPoint.h:26
Definition BSTPoint.h:46
Definition BSTSmartPointer.h:37
Definition NiSmartPointer.h:9
Definition TESCameraState.h:16
Definition TESCamera.h:13
std::uint32_t pad34
Definition TESCamera.h:34
float zoomInput
Definition TESCamera.h:28
std::uint16_t pad32
Definition TESCamera.h:33
NiPointer< NiNode > cameraRoot
Definition TESCamera.h:29
static constexpr auto VTABLE
Definition TESCamera.h:16
bool enabled
Definition TESCamera.h:31
static constexpr auto RTTI
Definition TESCamera.h:15
std::uint8_t pad31
Definition TESCamera.h:32
virtual ~TESCamera()
void SetState(TESCameraState *a_state)
BSTPoint3< float > translationInput
Definition TESCamera.h:27
BSTPoint2< float > rotationInput
Definition TESCamera.h:26
BSTSmartPointer< TESCameraState > currentState
Definition TESCamera.h:30
virtual void SetCameraRoot(NiPointer< NiNode > a_root)
virtual void Update()
Definition AbsorbEffect.h:6
constexpr REL::ID RTTI_TESCamera(static_cast< std::uint64_t >(684974))
constexpr std::array< REL::ID, 1 > VTABLE_TESCamera
Definition Offsets_VTABLE.h:12809