NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::g3d::LightAnmResult Struct Reference
Inheritance diagram for nw4r::g3d::LightAnmResult:
[legend]

Description

Definition at line 39 of file g3d_resanmlight.h.

Public Types

enum  Flag {
  FLAG_LIGHT_TYPE_MASK = (1 << 0) | (1 << 1) ,
  FLAG_LIGHT_ENABLE = (1 << 2) ,
  FLAG_SPECULAR_ENABLE = (1 << 3) ,
  FLAG_COLOR_ENABLE = (1 << 4) ,
  FLAG_ALPHA_ENABLE = (1 << 5)
}
 
- Public Types inherited from nw4r::g3d::ResAnmLightDataTypedef
enum  LightType {
  LIGHTTYPE_POINT ,
  LIGHTTYPE_DIRECTIONAL ,
  LIGHTTYPE_SPOT ,
  LIGHTTYPE_MAX
}
 

Public Attributes

ulong specIdx
 
ulong flags
 
math::VEC3 pos
 
math::VEC3 aim
 
ut::Color color
 
GXDistAttnFn distFunc
 
f32 refDistance
 
f32 refBrightness
 
GXSpotFn spotFunc
 
f32 cutoff
 
ut::Color specColor
 
f32 shininess
 

Member Enumeration Documentation

◆ Flag

enum nw4r::g3d::LightAnmResult::Flag

Definition at line 40 of file g3d_resanmlight.h.

Member Data Documentation

◆ specIdx

ulong nw4r::g3d::LightAnmResult::specIdx

Definition at line 48 of file g3d_resanmlight.h.

◆ flags

ulong nw4r::g3d::LightAnmResult::flags

Definition at line 49 of file g3d_resanmlight.h.

◆ pos

math::VEC3 nw4r::g3d::LightAnmResult::pos

Definition at line 50 of file g3d_resanmlight.h.

◆ aim

math::VEC3 nw4r::g3d::LightAnmResult::aim

Definition at line 51 of file g3d_resanmlight.h.

◆ color

ut::Color nw4r::g3d::LightAnmResult::color

Definition at line 52 of file g3d_resanmlight.h.

◆ distFunc

GXDistAttnFn nw4r::g3d::LightAnmResult::distFunc

Definition at line 53 of file g3d_resanmlight.h.

◆ refDistance

f32 nw4r::g3d::LightAnmResult::refDistance

Definition at line 54 of file g3d_resanmlight.h.

◆ refBrightness

f32 nw4r::g3d::LightAnmResult::refBrightness

Definition at line 55 of file g3d_resanmlight.h.

◆ spotFunc

GXSpotFn nw4r::g3d::LightAnmResult::spotFunc

Definition at line 56 of file g3d_resanmlight.h.

◆ cutoff

f32 nw4r::g3d::LightAnmResult::cutoff

Definition at line 57 of file g3d_resanmlight.h.

◆ specColor

ut::Color nw4r::g3d::LightAnmResult::specColor

Definition at line 58 of file g3d_resanmlight.h.

◆ shininess

f32 nw4r::g3d::LightAnmResult::shininess

Definition at line 59 of file g3d_resanmlight.h.