CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
BSMaterialObject.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTArray.h"
4#include "RE/N/NiColor.h"
5#include "RE/N/NiPoint3.h"
7
8namespace RE
9{
10 class NiProperty;
11
13 {
14 public:
15 inline static constexpr auto RTTI = RTTI_BSMaterialObject;
16
17 struct DIRECTIONAL_DATA // DATA
18 {
19 public:
20 enum class Flag
21 {
22 kNone = 0,
23 kSnow = 1 << 0
24 };
25
26 // members
27 float falloffScale; // 00
28 float falloffBias; // 04
29 float noiseUVScale; // 08
30 float materialUVScale; // 0C
32 float normalDampener; // 1C
34 std::int32_t singlePass; // 2C
36 std::uint32_t unk2C; // 34
37 };
38 static_assert(sizeof(DIRECTIONAL_DATA) == 0x38);
39
40 virtual ~BSMaterialObject(); // 00
41
42 // add
43 virtual void EnsureLoaded(); // 01 - { return; }
44
45 // members
48 };
49 static_assert(sizeof(BSMaterialObject) == 0x58);
50}
Definition: BSMaterialObject.h:13
static constexpr auto RTTI
Definition: BSMaterialObject.h:15
DIRECTIONAL_DATA directionalData
Definition: BSMaterialObject.h:46
virtual void EnsureLoaded()
virtual ~BSMaterialObject()
BSTArray< NiPointer< NiProperty > > properties
Definition: BSMaterialObject.h:47
Definition: BSTArray.h:377
Definition: NiColor.h:9
Definition: NiPoint3.h:6
Definition: PCH.h:216
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSMaterialObject
Definition: Offsets_RTTI.h:1929
Definition: BSMaterialObject.h:18
float falloffScale
Definition: BSMaterialObject.h:27
std::uint32_t unk2C
Definition: BSMaterialObject.h:36
NiPoint3 ProjectionDir
Definition: BSMaterialObject.h:31
float falloffBias
Definition: BSMaterialObject.h:28
std::int32_t singlePass
Definition: BSMaterialObject.h:34
float normalDampener
Definition: BSMaterialObject.h:32
NiColor singlePassColor
Definition: BSMaterialObject.h:33
stl::enumeration< Flag, std::uint32_t > flags
Definition: BSMaterialObject.h:35
Flag
Definition: BSMaterialObject.h:21
float materialUVScale
Definition: BSMaterialObject.h:30
float noiseUVScale
Definition: BSMaterialObject.h:29