New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
Light.h
Go to the documentation of this file.
1
#
pragma
once
2
3
#
include
<
gfx
/
seadColor
.
h
>
4
#
include
<
heap
/
seadDisposer
.
h
>
5
#
include
<
math
/
seadVector
.
h
>
6
7
enum
LightType
: u32;
8
9
// vtbl Address: 0x100BB350
10
class
Light
:
public
sead
::
IDisposer
11
{
12
public
:
13
// Address: 0x024E24BC
14
Light
();
15
// Address: 0x024E2580
16
virtual
~
Light
();
17
18
// Address: 0x024E26BC
19
bool
update
(
20
LightType
type,
21
sead::Vector3f* position =
nullptr
,
22
u32* =
nullptr
,
23
f32* radius =
nullptr
,
24
f32* =
nullptr
,
25
sead::Color4f* color =
nullptr
,
26
f32* =
nullptr
,
27
f32* =
nullptr
28
);
29
30
// Address: 0x024E2784
31
void
calcLayerOverlap
();
32
33
private
:
34
bool
_10
;
35
void
*
_14
;
36
sead
::
Vector3f
mPosition
;
37
u32
_24
;
38
f32
mRadius
;
39
f32
_2C
;
40
sead
::
Color4f
mColor
;
41
u32
_40
;
42
f32
_44
;
43
};
44
static_assert
(
sizeof
(
Light
) == 0x48);
LightType
LightType
Definition
LightType.h:6
Light
Definition
Light.h:11
Light::_2C
f32 _2C
Definition
Light.h:39
Light::mColor
sead::Color4f mColor
Definition
Light.h:40
Light::_40
u32 _40
Definition
Light.h:41
Light::mPosition
sead::Vector3f mPosition
Definition
Light.h:36
Light::update
bool update(LightType type, sead::Vector3f *position=nullptr, u32 *=nullptr, f32 *radius=nullptr, f32 *=nullptr, sead::Color4f *color=nullptr, f32 *=nullptr, f32 *=nullptr)
Light::_24
u32 _24
Definition
Light.h:37
Light::_10
bool _10
Definition
Light.h:34
Light::~Light
virtual ~Light()
Light::mRadius
f32 mRadius
Definition
Light.h:38
Light::_14
void * _14
Definition
Light.h:35
Light::_44
f32 _44
Definition
Light.h:42
Light::Light
Light()
Light::calcLayerOverlap
void calcLayerOverlap()
graphics
Light.h
Generated by
1.14.0