NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::ef::DrawInfo Class Reference

Description

Definition at line 12 of file ef_drawinfo.h.

Public Member Functions

const math::MTX34GetViewMtx () const
 
void SetViewMtx (const math::MTX34 &rMtx)
 
const math::MTX34GetProjMtx () const
 
void SetProjMtx (const math::MTX34 &rMtx)
 
bool IsLightEnable () const
 
GXLightID GetLightMask () const
 
bool IsSpotLight () const
 
void GetFog (GXFogType *pType, f32 *pStartZ, f32 *pEndZ, f32 *pNearZ, f32 *pFarZ, GXColor *pColor) const
 
void GetZOffset (f32 &rOffset, math::VEC3 &rPos) const
 
void SetZOffset (f32 offset, const math::VEC3 &rPos)
 
const GXColorGetChanMatColor () const
 
const GXColorGetChanAmbColor () const
 

Private Attributes

math::MTX34 mViewMtx
 
math::MTX34 mProjMtx
 
bool mLightEnable
 
GXLightID mLightMask
 
bool mIsSpotLight
 
GXFogType mFogType
 
f32 mFogStartz
 
f32 mFogEndz
 
f32 mFogNearz
 
f32 mFogFarz
 
GXColor mFogColor
 
f32 mZOffset
 
math::VEC3 mZOffsetOrig
 
GXColor mChanMatColor
 
GXColor mChanAmbColor
 

Constructor & Destructor Documentation

◆ DrawInfo()

nw4r::ef::DrawInfo::DrawInfo ( )
inline

Definition at line 31 of file ef_drawinfo.h.

Member Function Documentation

◆ GetViewMtx()

const math::MTX34 * nw4r::ef::DrawInfo::GetViewMtx ( ) const
inline

Definition at line 53 of file ef_drawinfo.h.

◆ SetViewMtx()

void nw4r::ef::DrawInfo::SetViewMtx ( const math::MTX34 & rMtx)
inline

Definition at line 56 of file ef_drawinfo.h.

◆ GetProjMtx()

const math::MTX34 * nw4r::ef::DrawInfo::GetProjMtx ( ) const
inline

Definition at line 60 of file ef_drawinfo.h.

◆ SetProjMtx()

void nw4r::ef::DrawInfo::SetProjMtx ( const math::MTX34 & rMtx)
inline

Definition at line 63 of file ef_drawinfo.h.

◆ IsLightEnable()

bool nw4r::ef::DrawInfo::IsLightEnable ( ) const
inline

Definition at line 67 of file ef_drawinfo.h.

◆ GetLightMask()

GXLightID nw4r::ef::DrawInfo::GetLightMask ( ) const
inline

Definition at line 71 of file ef_drawinfo.h.

◆ IsSpotLight()

bool nw4r::ef::DrawInfo::IsSpotLight ( ) const
inline

Definition at line 75 of file ef_drawinfo.h.

◆ GetFog()

void nw4r::ef::DrawInfo::GetFog ( GXFogType * pType,
f32 * pStartZ,
f32 * pEndZ,
f32 * pNearZ,
f32 * pFarZ,
GXColor * pColor ) const
inline

Definition at line 79 of file ef_drawinfo.h.

◆ GetZOffset()

void nw4r::ef::DrawInfo::GetZOffset ( f32 & rOffset,
math::VEC3 & rPos ) const
inline

Definition at line 90 of file ef_drawinfo.h.

◆ SetZOffset()

void nw4r::ef::DrawInfo::SetZOffset ( f32 offset,
const math::VEC3 & rPos )
inline

Definition at line 94 of file ef_drawinfo.h.

◆ GetChanMatColor()

const GXColor & nw4r::ef::DrawInfo::GetChanMatColor ( ) const
inline

Definition at line 99 of file ef_drawinfo.h.

◆ GetChanAmbColor()

const GXColor & nw4r::ef::DrawInfo::GetChanAmbColor ( ) const
inline

Definition at line 102 of file ef_drawinfo.h.

Member Data Documentation

◆ mViewMtx

math::MTX34 nw4r::ef::DrawInfo::mViewMtx
private

Definition at line 14 of file ef_drawinfo.h.

◆ mProjMtx

math::MTX34 nw4r::ef::DrawInfo::mProjMtx
private

Definition at line 15 of file ef_drawinfo.h.

◆ mLightEnable

bool nw4r::ef::DrawInfo::mLightEnable
private

Definition at line 16 of file ef_drawinfo.h.

◆ mLightMask

GXLightID nw4r::ef::DrawInfo::mLightMask
private

Definition at line 17 of file ef_drawinfo.h.

◆ mIsSpotLight

bool nw4r::ef::DrawInfo::mIsSpotLight
private

Definition at line 18 of file ef_drawinfo.h.

◆ mFogType

GXFogType nw4r::ef::DrawInfo::mFogType
private

Definition at line 19 of file ef_drawinfo.h.

◆ mFogStartz

f32 nw4r::ef::DrawInfo::mFogStartz
private

Definition at line 20 of file ef_drawinfo.h.

◆ mFogEndz

f32 nw4r::ef::DrawInfo::mFogEndz
private

Definition at line 21 of file ef_drawinfo.h.

◆ mFogNearz

f32 nw4r::ef::DrawInfo::mFogNearz
private

Definition at line 22 of file ef_drawinfo.h.

◆ mFogFarz

f32 nw4r::ef::DrawInfo::mFogFarz
private

Definition at line 23 of file ef_drawinfo.h.

◆ mFogColor

GXColor nw4r::ef::DrawInfo::mFogColor
private

Definition at line 24 of file ef_drawinfo.h.

◆ mZOffset

f32 nw4r::ef::DrawInfo::mZOffset
private

Definition at line 25 of file ef_drawinfo.h.

◆ mZOffsetOrig

math::VEC3 nw4r::ef::DrawInfo::mZOffsetOrig
private

Definition at line 26 of file ef_drawinfo.h.

◆ mChanMatColor

GXColor nw4r::ef::DrawInfo::mChanMatColor
private

Definition at line 27 of file ef_drawinfo.h.

◆ mChanAmbColor

GXColor nw4r::ef::DrawInfo::mChanAmbColor
private

Definition at line 28 of file ef_drawinfo.h.