CommonLibSSE NG
Loading...
Searching...
No Matches
NiPSysGravityModifier.h
Go to the documentation of this file.
1#pragma once
2
4#include "RE/N/NiPoint3.h"
5
6namespace RE
7{
9 {
10 public:
11 inline static constexpr auto RTTI = RTTI_NiPSysGravityModifier;
12 inline static constexpr auto Ni_RTTI = NiRTTI_NiPSysGravityModifier;
13
14 enum class ForceType
15 {
16 kPlanar = 0,
18 };
19
20 ~NiPSysGravityModifier() override; // 00
21
22 // override (NiPSysModifier)
23 const NiRTTI* GetRTTI() const override; // 02
24 NiObject* CreateClone(NiCloningProcess& a_cloning) override; // 17
25 void LoadBinary(NiStream& a_stream) override; // 18
26 void LinkObject(NiStream& a_stream) override; // 19
27 bool RegisterStreamables(NiStream& a_stream) override; // 1A
28 void SaveBinary(NiStream& a_stream) override; // 1B
29 bool IsEqual(NiObject* a_object) override; // 1C - { return false; }
30 void ProcessClone(NiCloningProcess& a_cloning) override; // 1D
31 bool Update(float a_time, NiPSysData* a_particleData, NiPoint3* a_position, NiPoint3* a_radii, NiColorA* a_rotation) override; // 25
32
33 // members
36 float decay; // 44
37 float strength; // 48
39 float turbulence; // 50
40 float scale; // 54
41 bool worldAligned; // 58
42 std::uint8_t pad59; // 59
43 std::uint16_t pad5A; // 5A
44 std::uint32_t pad5C; // 5C
45 };
46 static_assert(sizeof(NiPSysGravityModifier) == 0x60);
47}
Definition NiAVObject.h:50
Definition NiCloningProcess.h:10
Definition NiColor.h:276
Definition NiObject.h:37
Definition NiPSysData.h:22
Definition NiPSysGravityModifier.h:9
bool Update(float a_time, NiPSysData *a_particleData, NiPoint3 *a_position, NiPoint3 *a_radii, NiColorA *a_rotation) override
bool IsEqual(NiObject *a_object) override
void LinkObject(NiStream &a_stream) override
NiAVObject * gravityObj
Definition NiPSysGravityModifier.h:34
void ProcessClone(NiCloningProcess &a_cloning) override
const NiRTTI * GetRTTI() const override
~NiPSysGravityModifier() override
float scale
Definition NiPSysGravityModifier.h:40
std::uint32_t pad5C
Definition NiPSysGravityModifier.h:44
float turbulence
Definition NiPSysGravityModifier.h:39
float strength
Definition NiPSysGravityModifier.h:37
bool worldAligned
Definition NiPSysGravityModifier.h:41
void LoadBinary(NiStream &a_stream) override
std::uint16_t pad5A
Definition NiPSysGravityModifier.h:43
std::uint8_t pad59
Definition NiPSysGravityModifier.h:42
static constexpr auto RTTI
Definition NiPSysGravityModifier.h:11
NiPoint3 gravityAxis
Definition NiPSysGravityModifier.h:35
ForceType
Definition NiPSysGravityModifier.h:15
bool RegisterStreamables(NiStream &a_stream) override
float decay
Definition NiPSysGravityModifier.h:36
void SaveBinary(NiStream &a_stream) override
stl::enumeration< ForceType, std::uint32_t > forceType
Definition NiPSysGravityModifier.h:38
NiObject * CreateClone(NiCloningProcess &a_cloning) override
static constexpr auto Ni_RTTI
Definition NiPSysGravityModifier.h:12
Definition NiPSysModifier.h:14
Definition NiPoint3.h:6
Definition NiRTTI.h:6
Definition NiStream.h:27
Definition PCH.h:223
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_NiPSysGravityModifier(690585, 398440, 0x1f63f30)
constexpr REL::VariantID NiRTTI_NiPSysGravityModifier(524467, 411048, 0x316d840)