15#define RUNTIME_DATA_CONTENT \
16 float constAttenuation; \
17 float linearAttenuation; \
18 float quadraticAttenuation;
22 static_assert(
sizeof(POINT_LIGHT_RUNTIME_DATA) == 0x0C);
35 return REL::RelocateMember<POINT_LIGHT_RUNTIME_DATA>(
this, 0x140, 0x168);
40 return REL::RelocateMember<POINT_LIGHT_RUNTIME_DATA>(
this, 0x140, 0x168);
44#ifndef SKYRIM_CROSS_VR
48#ifndef ENABLE_SKYRIM_VR
49 static_assert(
sizeof(NiPointLight) == 0x150);
50#elif !defined(ENABLE_SKYRIM_AE) && !defined(ENABLE_SKYRIM_SE)
51 static_assert(
sizeof(NiPointLight) == 0x178);
54#undef RUNTIME_DATA_CONTENT
#define RUNTIME_DATA_CONTENT
Definition Actor.h:633
Definition NiCloningProcess.h:10
Definition NiPointLight.h:8
POINT_LIGHT_RUNTIME_DATA & GetPointLightRuntimeData() noexcept
Definition NiPointLight.h:33
bool IsEqual(NiObject *a_object) override
static constexpr auto RTTI
Definition NiPointLight.h:10
const POINT_LIGHT_RUNTIME_DATA & GetPointLightRuntimeData() const noexcept
Definition NiPointLight.h:38
const NiRTTI * GetRTTI() const override
NiObject * CreateClone(NiCloningProcess &a_cloning) override
void SaveBinary(NiStream &a_stream) override
void LoadBinary(NiStream &a_stream) override
static auto Ni_RTTI
Definition NiPointLight.h:11
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_NiPointLight(690433, 398288, 0x1f62020)
constexpr REL::VariantID NiRTTI_NiPointLight(523954, 410534, 0x316bef0)
Definition NiPointLight.h:14