CommonLibVR
Loading...
Searching...
No Matches
SceneGraph.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSSceneGraph.h"
4
5namespace RE
6{
7 class SceneGraph : public BSSceneGraph
8 {
9 public:
10 inline static constexpr auto RTTI = RTTI_SceneGraph;
11 inline static constexpr auto Ni_RTTI = NiRTTI_SceneGraph;
12 inline static constexpr auto VTABLE = VTABLE_SceneGraph;
13
14 ~SceneGraph() override; // 00
15
16 // override (BSSceneGraph)
17 const NiRTTI* GetRTTI() const override; // 02
18 float GetFarDistance() override; // 3E
19 float GetNearDistance() override; // 3F
20
21 // members
22 float customNearDistance; // 140
23 float customFarDistance; // 144
24 bool useCustomNear; // 148
25 bool useCustomFar; // 149
26 std::uint16_t pad14A; // 14A
27 std::uint32_t pad14C; // 14C
28 private:
30 };
31#ifndef SKYRIMVR
32 static_assert(sizeof(SceneGraph) == 0x150);
33#else
34 static_assert(sizeof(SceneGraph) == 0x178);
35#endif
36}
#define KEEP_FOR_RE()
Definition PCH.h:517
Definition BSSceneGraph.h:11
Definition NiRTTI.h:6
Definition SceneGraph.h:8
const NiRTTI * GetRTTI() const override
std::uint32_t pad14C
Definition SceneGraph.h:27
bool useCustomFar
Definition SceneGraph.h:25
static constexpr auto VTABLE
Definition SceneGraph.h:12
std::uint16_t pad14A
Definition SceneGraph.h:26
~SceneGraph() override
float GetNearDistance() override
float GetFarDistance() override
float customNearDistance
Definition SceneGraph.h:22
static constexpr auto RTTI
Definition SceneGraph.h:10
static constexpr auto Ni_RTTI
Definition SceneGraph.h:11
bool useCustomNear
Definition SceneGraph.h:24
float customFarDistance
Definition SceneGraph.h:23
Definition AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_SceneGraph
Definition Offsets_VTABLE.h:12625
constexpr REL::ID NiRTTI_SceneGraph(static_cast< std::uint64_t >(517222))
constexpr REL::ID RTTI_SceneGraph(static_cast< std::uint64_t >(686700))