CommonLibVR
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
18
NiTransform
Invert
()
const
;
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
25
NiMatrix3
rotate
;
// 00
26
NiPoint3
translate
;
// 24
27
float
scale
;
// 30
28
private
:
29
KEEP_FOR_RE
()
30
};
31
static_assert(
sizeof
(
NiTransform
) == 0x34);
32
}
NiMatrix3.h
NiPoint3.h
KEEP_FOR_RE
#define KEEP_FOR_RE()
Definition:
PCH.h:713
RE::NiMatrix3
Definition:
NiMatrix3.h:8
RE::NiPoint3
Definition:
NiPoint3.h:6
RE::NiTransform
Definition:
NiTransform.h:9
RE::NiTransform::operator*
NiTransform operator*(const NiTransform &a_rhs) const
RE::NiTransform::operator*
NiPoint3 operator*(const NiPoint3 &a_point) const
RE::NiTransform::Invert
NiTransform Invert() const
RE::NiTransform::scale
float scale
Definition:
NiTransform.h:27
RE::NiTransform::operator!=
bool operator!=(const NiTransform &a_rhs) const
RE::NiTransform::rotate
NiMatrix3 rotate
Definition:
NiTransform.h:25
RE::NiTransform::NiTransform
constexpr NiTransform() noexcept
Definition:
NiTransform.h:11
RE::NiTransform::operator==
bool operator==(const NiTransform &a_rhs) const
RE::NiTransform::translate
NiPoint3 translate
Definition:
NiTransform.h:26
RE
Definition:
AbsorbEffect.h:6
CommonLibVR
include
RE
N
NiTransform.h
Generated by
1.9.1