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

Description

Definition at line 28 of file g3d_fog.h.

Public Member Functions

 Fog (FogData *pData)
 
void Init ()
 
Fog CopyTo (void *pDst) const
 
void SetFogRangeAdjParam (u16 width, u16 center, const math::MTX44 &rProjMtx)
 
void SetGP () const
 
void SetFogType (GXFogType type)
 
void SetZ (f32 startZ, f32 endZ)
 
void SetNearFar (f32 nearZ, f32 farZ)
 
void SetFogColor (GXColor color)
 
bool IsFogRangeAdjEnable () const
 
- Public Member Functions inherited from nw4r::g3d::ResCommon< FogData >
 ResCommon (void *pData)
 
 ResCommon (const void *pData)
 
bool IsValid () const
 
FogDataptr ()
 
const FogDataptr () const
 
FogDataref ()
 
const FogDataref () const
 
FogDataofs_to_ptr_raw (s32 ofs)
 
const FogDataofs_to_ptr_raw (s32 ofs) const
 
FogDataofs_to_ptr (s32 ofs)
 
const FogDataofs_to_ptr (s32 ofs) const
 
FogData ofs_to_obj (s32 ofs)
 
const FogData ofs_to_obj (s32 ofs) const
 

Member Function Documentation

◆ SetFogType()

void nw4r::g3d::Fog::SetFogType ( GXFogType type)
inline

Definition at line 39 of file g3d_fog.h.

◆ SetZ()

void nw4r::g3d::Fog::SetZ ( f32 startZ,
f32 endZ )
inline

Definition at line 47 of file g3d_fog.h.

◆ SetNearFar()

void nw4r::g3d::Fog::SetNearFar ( f32 nearZ,
f32 farZ )
inline

Definition at line 58 of file g3d_fog.h.

◆ SetFogColor()

void nw4r::g3d::Fog::SetFogColor ( GXColor color)
inline

Definition at line 69 of file g3d_fog.h.

◆ IsFogRangeAdjEnable()

bool nw4r::g3d::Fog::IsFogRangeAdjEnable ( ) const
inline

Definition at line 77 of file g3d_fog.h.