CommonLibSSE (powerof3)
BSSceneGraph.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiNode.h"
4 
5 namespace RE
6 {
7  class NiCamera;
8  class NiVisibleArray;
9 
10  class BSSceneGraph : public NiNode
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_BSSceneGraph;
14  inline static constexpr auto Ni_RTTI = NiRTTI_BSSceneGraph;
15  inline static constexpr auto VTABLE = VTABLE_BSSceneGraph;
16 
17  ~BSSceneGraph() override; // 00
18 
19  // override (NiNode)
20  const NiRTTI* GetRTTI() const override; // 02
21 
22  // add
23  virtual float GetFarDistance(); // 3E
24  virtual float GetNearDistance(); // 3F - { return fNearDistance:Display; }
25  virtual void SetViewDistanceBasedOnFrameRate(float a_frameRate); // 40
26 
27  // members
29  NiVisibleArray* visArray; // 130 - 0x18
30  bool menuSceneGraph; // 138
31  std::uint8_t pad139; // 139
32  std::uint16_t pad13A; // 13A
33  float cameraFOV; // 13C
34  };
35  static_assert(sizeof(BSSceneGraph) == 0x140);
36 }
Definition: BSSceneGraph.h:11
std::uint16_t pad13A
Definition: BSSceneGraph.h:32
float cameraFOV
Definition: BSSceneGraph.h:33
static constexpr auto VTABLE
Definition: BSSceneGraph.h:15
NiVisibleArray * visArray
Definition: BSSceneGraph.h:29
virtual void SetViewDistanceBasedOnFrameRate(float a_frameRate)
static constexpr auto Ni_RTTI
Definition: BSSceneGraph.h:14
bool menuSceneGraph
Definition: BSSceneGraph.h:30
std::uint8_t pad139
Definition: BSSceneGraph.h:31
const NiRTTI * GetRTTI() const override
static constexpr auto RTTI
Definition: BSSceneGraph.h:13
NiPointer< NiCamera > camera
Definition: BSSceneGraph.h:28
virtual float GetFarDistance()
virtual float GetNearDistance()
~BSSceneGraph() override
Definition: NiNode.h:12
Definition: NiSmartPointer.h:9
Definition: NiRTTI.h:6
Definition: AbsorbEffect.h:6
constexpr REL::ID NiRTTI_BSSceneGraph(static_cast< std::uint64_t >(524681))
constexpr REL::ID RTTI_BSSceneGraph(static_cast< std::uint64_t >(686701))
constexpr std::array< REL::ID, 1 > VTABLE_BSSceneGraph
Definition: Offsets_VTABLE.h:9433