CommonLibSSE NG
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
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 BSTPoint.h:26
Definition BSTPoint.h:46
Definition BSTSmartPointer.h:36
Definition NiSmartPointer.h:9
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 TESCameraState.h:16
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_TESCamera(684974, 392711, 0x1edd3e8)