CommonLibSSE NG
NiTransform.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiMatrix3.h"
4 #include "RE/N/NiPoint3.h"
5 
6 namespace RE
7 {
8  class NiTransform
9  {
10  public:
11  constexpr NiTransform() noexcept
12  {
13  translate = { 0.f, 0.f, 0.f };
14  rotate = NiMatrix3();
15  scale = 1.0f;
16  }
17 
19 
20  bool operator==(const NiTransform& a_rhs) const;
21  bool operator!=(const NiTransform& a_rhs) const;
22  NiTransform operator*(const NiTransform& a_rhs) const;
23  NiPoint3 operator*(const NiPoint3& a_point) const;
24 
27  float scale; // 30
28  };
29  static_assert(sizeof(NiTransform) == 0x34);
30 }
Definition: NiMatrix3.h:8
Definition: NiPoint3.h:6
Definition: NiTransform.h:9
NiTransform operator*(const NiTransform &a_rhs) const
NiPoint3 operator*(const NiPoint3 &a_point) const
NiTransform Invert() const
float scale
Definition: NiTransform.h:27
bool operator!=(const NiTransform &a_rhs) const
NiMatrix3 rotate
Definition: NiTransform.h:25
constexpr NiTransform() noexcept
Definition: NiTransform.h:11
bool operator==(const NiTransform &a_rhs) const
NiPoint3 translate
Definition: NiTransform.h:26
Definition: AbsorbEffect.h:6