CommonLibSSE (powerof3)
Loading...
Searching...
No Matches
NiLight.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/N/NiAVObject.h"
4#include "RE/N/NiColor.h"
5#include "RE/N/NiPoint3.h"
6
7namespace RE
8{
9 class NiLight : public NiAVObject
10 {
11 public:
12 inline static constexpr auto RTTI = RTTI_NiLight;
13 inline static constexpr auto Ni_RTTI = NiRTTI_NiLight;
14
15 ~NiLight() override; // 00
16
17 // override (NiAVObject)
18 const NiRTTI* GetRTTI() const override; // 02
19 void LoadBinary(NiStream& a_stream) override; // 18
20 void SaveBinary(NiStream& a_stream) override; // 1B
21 bool IsEqual(NiObject* a_object) override; // 1C
22
23 // members
27 float fade; // 134
28 std::uint32_t unk138; // 138
29 };
30 static_assert(sizeof(NiLight) == 0x140);
31}
Definition: NiAVObject.h:50
Definition: NiColor.h:11
Definition: NiLight.h:10
~NiLight() override
void LoadBinary(NiStream &a_stream) override
void SaveBinary(NiStream &a_stream) override
NiColor diffuse
Definition: NiLight.h:25
const NiRTTI * GetRTTI() const override
std::uint32_t unk138
Definition: NiLight.h:28
NiPoint3 radius
Definition: NiLight.h:26
static constexpr auto RTTI
Definition: NiLight.h:12
bool IsEqual(NiObject *a_object) override
float fade
Definition: NiLight.h:27
NiColor ambient
Definition: NiLight.h:24
static constexpr auto Ni_RTTI
Definition: NiLight.h:13
Definition: NiObject.h:37
Definition: NiPoint3.h:6
Definition: NiRTTI.h:6
Definition: NiStream.h:27
Definition: AbsorbEffect.h:6
constexpr REL::ID NiRTTI_NiLight(static_cast< std::uint64_t >(523923))
constexpr REL::ID RTTI_NiLight(static_cast< std::uint64_t >(690419))