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 inline static constexpr auto VTABLE = VTABLE_NiLight;
15
16 ~NiLight() override; // 00
17
18 // override (NiAVObject)
19 const NiRTTI* GetRTTI() const override; // 02
20 void LoadBinary(NiStream& a_stream) override; // 18
21 void SaveBinary(NiStream& a_stream) override; // 1B
22 bool IsEqual(NiObject* a_object) override; // 1C
23
24 // members
28 float fade; // 134
29 std::uint64_t unk138; // 138
30 };
31 static_assert(sizeof(NiLight) == 0x140);
32}
Definition NiAVObject.h:51
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:26
const NiRTTI * GetRTTI() const override
std::uint64_t unk138
Definition NiLight.h:29
NiPoint3 radius
Definition NiLight.h:27
static constexpr auto RTTI
Definition NiLight.h:12
bool IsEqual(NiObject *a_object) override
float fade
Definition NiLight.h:28
NiColor ambient
Definition NiLight.h:25
static constexpr auto Ni_RTTI
Definition NiLight.h:13
static constexpr auto VTABLE
Definition NiLight.h:14
Definition NiObject.h:37
Definition NiPoint3.h:6
Definition NiRTTI.h:6
Definition NiStream.h:29
Definition AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_NiLight
Definition Offsets_VTABLE.h:12225
constexpr REL::ID NiRTTI_NiLight(static_cast< std::uint64_t >(523923))
constexpr REL::ID RTTI_NiLight(static_cast< std::uint64_t >(690419))