CommonLibSSE NG
InteriorData.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "RE/C/Color.h"
5 
6 namespace RE
7 {
8  struct INTERIOR_DATA
9  {
10  public:
11  enum class Inherit
12  {
13  kAmbientColor = 1 << 0,
14  kDirectionalColor = 1 << 1,
15  kFogColor = 1 << 2,
16  kFogNear = 1 << 3,
17  kFogFar = 1 << 4,
18  kDirectionalRotation = 1 << 5,
19  kDirectionalFade = 1 << 6,
20  kClipDistance = 1 << 7,
21  kFogPower = 1 << 8,
22  kFogMax = 1 << 9,
23  kLightFadeDistances = 1 << 10
24  };
25 
26  // members
27  Color ambient; // 00
30  float fogNear; // 0C
31  float fogFar; // 10
32  std::uint32_t directionalXY; // 14
33  std::uint32_t directionalZ; // 18
34  float directionalFade; // 1C
35  float clipDist; // 20
36  float fogPower; // 24
39  float fogClamp; // 4C
40  float lightFadeStart; // 50
41  float lightFadeEnd; // 54
43  std::uint32_t unk5C; // 5C - interiorOffset?
44  };
45  static_assert(sizeof(INTERIOR_DATA) == 0x60);
46 }
Definition: BGSDirectionalAmbientLightingColors.h:8
Definition: AbsorbEffect.h:6
Definition: Color.h:8
Definition: InteriorData.h:9
float lightFadeStart
Definition: InteriorData.h:40
Color fogColorFar
Definition: InteriorData.h:38
Color ambient
Definition: InteriorData.h:27
float fogNear
Definition: InteriorData.h:30
std::uint32_t directionalZ
Definition: InteriorData.h:33
float directionalFade
Definition: InteriorData.h:34
float lightFadeEnd
Definition: InteriorData.h:41
float fogClamp
Definition: InteriorData.h:39
float clipDist
Definition: InteriorData.h:35
std::uint32_t unk5C
Definition: InteriorData.h:43
Color directional
Definition: InteriorData.h:28
float fogFar
Definition: InteriorData.h:31
Color fogColorNear
Definition: InteriorData.h:29
BGSDirectionalAmbientLightingColors directionalAmbientLightingColors
Definition: InteriorData.h:37
std::uint32_t directionalXY
Definition: InteriorData.h:32
Inherit
Definition: InteriorData.h:12
float fogPower
Definition: InteriorData.h:36
stl::enumeration< Inherit, std::uint32_t > lightingTemplateInheritanceFlags
Definition: InteriorData.h:42