CommonLibSSE NG
BSTempEffectGeometryDecal.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTSmartPointer.h"
4 #include "RE/B/BSTempEffect.h"
5 #include "RE/N/NiMatrix3.h"
6 #include "RE/N/NiPoint3.h"
7 #include "RE/N/NiSmartPointer.h"
8 
9 namespace RE
10 {
11  class BSGeometry;
12  class NiAVObject;
13  class BGSTextureSet;
14  class QueuedTempEffect;
15 
17  {
18  public:
19  inline static constexpr auto RTTI = RTTI_BSTempEffectGeometryDecal;
21  inline static constexpr auto VTABLE = VTABLE_BSTempEffectGeometryDecal;
22  inline static constexpr auto TYPE = TEMP_EFFECT_TYPE::kGeometryDecal;
23 
24  ~BSTempEffectGeometryDecal() override; // 00
25 
26  // override (BSTempEffect)
27  const NiRTTI* GetRTTI() const override; // 02
28  void Initialize() override; // 25
29  void Attach() override; // 26
30  bool Update(float a_arg1) override; // 28
31  NiAVObject* Get3D() const override; // 29
32  [[nodiscard]] TEMP_EFFECT_TYPE GetType() const override; // 2C - { return kGeometryDecal; }
33 
34  // members
45  float width; // A4
46  std::uint32_t unkA8; // A8
47  std::uint32_t flags; // AC
48  bool unkB0; // B0
49  };
50  static_assert(sizeof(BSTempEffectGeometryDecal) == 0xB8);
51 }
Definition: BGSTextureSet.h:16
Definition: BSTempEffectGeometryDecal.h:17
TEMP_EFFECT_TYPE GetType() const override
NiPoint3 direction
Definition: BSTempEffectGeometryDecal.h:44
const NiRTTI * GetRTTI() const override
NiAVObject * Get3D() const override
bool Update(float a_arg1) override
std::uint32_t flags
Definition: BSTempEffectGeometryDecal.h:47
BGSTextureSet * texSet
Definition: BSTempEffectGeometryDecal.h:40
NiMatrix3 rotation
Definition: BSTempEffectGeometryDecal.h:42
BGSTextureSet * texSet2
Definition: BSTempEffectGeometryDecal.h:41
std::uint32_t unkA8
Definition: BSTempEffectGeometryDecal.h:46
static constexpr auto VTABLE
Definition: BSTempEffectGeometryDecal.h:21
NiPointer< BSGeometry > decal
Definition: BSTempEffectGeometryDecal.h:35
static auto Ni_RTTI
Definition: BSTempEffectGeometryDecal.h:20
NiPointer< NiNode > decalNode
Definition: BSTempEffectGeometryDecal.h:38
NiPointer< BSGeometry > attachedGeometry
Definition: BSTempEffectGeometryDecal.h:36
static constexpr auto RTTI
Definition: BSTempEffectGeometryDecal.h:19
BSTSmartPointer< QueuedTempEffect > queuedDecal
Definition: BSTempEffectGeometryDecal.h:39
bool unkB0
Definition: BSTempEffectGeometryDecal.h:48
static constexpr auto TYPE
Definition: BSTempEffectGeometryDecal.h:22
float width
Definition: BSTempEffectGeometryDecal.h:45
NiPoint3 origin
Definition: BSTempEffectGeometryDecal.h:43
NiPointer< NiNode > attachedGeometryParent
Definition: BSTempEffectGeometryDecal.h:37
Definition: BSTempEffect.h:29
Definition: NiAVObject.h:50
Definition: NiMatrix3.h:8
Definition: NiPoint3.h:6
Definition: NiSmartPointer.h:9
Definition: NiRTTI.h:6
Definition: AbsorbEffect.h:6
TEMP_EFFECT_TYPE
Definition: BSTempEffect.h:13
constexpr std::array< REL::VariantID, 1 > VTABLE_BSTempEffectGeometryDecal
Definition: Offsets_VTABLE.h:1544
constexpr REL::VariantID NiRTTI_BSTempEffectGeometryDecal(515924, 402021, 0x2fd23b8)
constexpr REL::VariantID RTTI_BSTempEffectGeometryDecal(686048, 393856, 0x1ef5048)