CommonLibSSE (Parapets fork)
Sun.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiSmartPointer.h"
4 #include "RE/S/SkyObject.h"
5 
6 namespace RE
7 {
8  class BSShaderAccumulator;
9  class BSTriShape;
10  class NiBillboardNode;
11  class NiDirectionalLight;
12 
13  class Sun : public SkyObject
14  {
15  public:
16  inline static constexpr auto RTTI = RTTI_Sun;
17 
18  ~Sun() override; // 00
19 
20  // override (SkyObject)
21  void Unk_02(void) override; // 02
22  void Update(Sky* a_sky, float a_arg2) override; // 03
23 
24  // members
32  float glareScale; // 48
33  bool doOcclusionTests; // 4C
34  std::uint8_t pad4D; // 4D
35  std::uint16_t pad4E; // 4E
37  };
38  static_assert(sizeof(Sun) == 0x58);
39 }
Definition: SkyObject.h:11
Definition: Sky.h:31
Definition: Sun.h:14
NiPointer< BSTriShape > sunGlare
Definition: Sun.h:29
std::uint16_t pad4E
Definition: Sun.h:35
NiPointer< BSTriShape > sunQuery
Definition: Sun.h:28
NiPointer< NiDirectionalLight > cloudLight
Definition: Sun.h:31
bool doOcclusionTests
Definition: Sun.h:33
NiPointer< BSTriShape > sunBase
Definition: Sun.h:27
void Unk_02(void) override
NiPointer< NiBillboardNode > sunGlareNode
Definition: Sun.h:26
~Sun() override
NiPointer< BSShaderAccumulator > sunAccumulator
Definition: Sun.h:36
NiPointer< NiBillboardNode > sunBaseNode
Definition: Sun.h:25
void Update(Sky *a_sky, float a_arg2) override
static constexpr auto RTTI
Definition: Sun.h:16
std::uint8_t pad4D
Definition: Sun.h:34
NiPointer< NiDirectionalLight > light
Definition: Sun.h:30
float glareScale
Definition: Sun.h:32
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_Sun
Definition: Offsets_RTTI.h:5956