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

Description

Definition at line 11 of file lyt_drawInfo.h.

Public Member Functions

bool IsYAxisUp () const
 
const math::MTX34GetViewMtx () const
 
void SetViewMtx (const math::MTX34 &rViewMtx)
 
const ut::RectGetViewRect () const
 
void SetViewRect (const ut::Rect &rViewRect)
 
const math::VEC2GetLocationAdjustScale () const
 
void SetLocationAdjustScale (const math::VEC2 &rScale)
 
f32 GetGlobalAlpha () const
 
void SetGlobalAlpha (f32 alpha)
 
bool IsMultipleViewMtxOnDraw () const
 
bool IsInfluencedAlpha () const
 
void SetInfluencedAlpha (bool influenced)
 
bool IsLocationAdjust () const
 
void SetLocationAdjust (bool adjust)
 
bool IsInvisiblePaneCalculateMtx () const
 
void SetInvisiblePaneCalculateMtx (bool calc)
 
bool IsDebugDrawMode () const
 

Protected Attributes

math::MTX34 mViewMtx
 
ut::Rect mViewRect
 
math::VEC2 mLocationAdjustScale
 
f32 mGlobalAlpha
 
struct { 
 
   u8   mulViewDraw: 1 
 
   u8   influencedAlpha: 1 
 
   u8   locationAdjust: 1 
 
   u8   invisiblePaneCalculateMtx: 1 
 
   u8   debugDrawMode: 1 
 
mFlag 
 

Member Function Documentation

◆ IsYAxisUp()

bool nw4r::lyt::DrawInfo::IsYAxisUp ( ) const
inline

Definition at line 16 of file lyt_drawInfo.h.

◆ GetViewMtx()

const math::MTX34 & nw4r::lyt::DrawInfo::GetViewMtx ( ) const
inline

Definition at line 20 of file lyt_drawInfo.h.

◆ SetViewMtx()

void nw4r::lyt::DrawInfo::SetViewMtx ( const math::MTX34 & rViewMtx)
inline

Definition at line 23 of file lyt_drawInfo.h.

◆ GetViewRect()

const ut::Rect & nw4r::lyt::DrawInfo::GetViewRect ( ) const
inline

Definition at line 27 of file lyt_drawInfo.h.

◆ SetViewRect()

void nw4r::lyt::DrawInfo::SetViewRect ( const ut::Rect & rViewRect)
inline

Definition at line 30 of file lyt_drawInfo.h.

◆ GetLocationAdjustScale()

const math::VEC2 & nw4r::lyt::DrawInfo::GetLocationAdjustScale ( ) const
inline

Definition at line 34 of file lyt_drawInfo.h.

◆ SetLocationAdjustScale()

void nw4r::lyt::DrawInfo::SetLocationAdjustScale ( const math::VEC2 & rScale)
inline

Definition at line 37 of file lyt_drawInfo.h.

◆ GetGlobalAlpha()

f32 nw4r::lyt::DrawInfo::GetGlobalAlpha ( ) const
inline

Definition at line 41 of file lyt_drawInfo.h.

◆ SetGlobalAlpha()

void nw4r::lyt::DrawInfo::SetGlobalAlpha ( f32 alpha)
inline

Definition at line 44 of file lyt_drawInfo.h.

◆ IsMultipleViewMtxOnDraw()

bool nw4r::lyt::DrawInfo::IsMultipleViewMtxOnDraw ( ) const
inline

Definition at line 48 of file lyt_drawInfo.h.

◆ IsInfluencedAlpha()

bool nw4r::lyt::DrawInfo::IsInfluencedAlpha ( ) const
inline

Definition at line 52 of file lyt_drawInfo.h.

◆ SetInfluencedAlpha()

void nw4r::lyt::DrawInfo::SetInfluencedAlpha ( bool influenced)
inline

Definition at line 55 of file lyt_drawInfo.h.

◆ IsLocationAdjust()

bool nw4r::lyt::DrawInfo::IsLocationAdjust ( ) const
inline

Definition at line 59 of file lyt_drawInfo.h.

◆ SetLocationAdjust()

void nw4r::lyt::DrawInfo::SetLocationAdjust ( bool adjust)
inline

Definition at line 62 of file lyt_drawInfo.h.

◆ IsInvisiblePaneCalculateMtx()

bool nw4r::lyt::DrawInfo::IsInvisiblePaneCalculateMtx ( ) const
inline

Definition at line 66 of file lyt_drawInfo.h.

◆ SetInvisiblePaneCalculateMtx()

void nw4r::lyt::DrawInfo::SetInvisiblePaneCalculateMtx ( bool calc)
inline

Definition at line 69 of file lyt_drawInfo.h.

◆ IsDebugDrawMode()

bool nw4r::lyt::DrawInfo::IsDebugDrawMode ( ) const
inline

Definition at line 73 of file lyt_drawInfo.h.

Member Data Documentation

◆ mViewMtx

math::MTX34 nw4r::lyt::DrawInfo::mViewMtx
protected

Definition at line 78 of file lyt_drawInfo.h.

◆ mViewRect

ut::Rect nw4r::lyt::DrawInfo::mViewRect
protected

Definition at line 79 of file lyt_drawInfo.h.

◆ mLocationAdjustScale

math::VEC2 nw4r::lyt::DrawInfo::mLocationAdjustScale
protected

Definition at line 80 of file lyt_drawInfo.h.

◆ mGlobalAlpha

f32 nw4r::lyt::DrawInfo::mGlobalAlpha
protected

Definition at line 81 of file lyt_drawInfo.h.

◆ mulViewDraw

u8 nw4r::lyt::DrawInfo::mulViewDraw

Definition at line 84 of file lyt_drawInfo.h.

◆ influencedAlpha

u8 nw4r::lyt::DrawInfo::influencedAlpha

Definition at line 85 of file lyt_drawInfo.h.

◆ locationAdjust

u8 nw4r::lyt::DrawInfo::locationAdjust

Definition at line 86 of file lyt_drawInfo.h.

◆ invisiblePaneCalculateMtx

u8 nw4r::lyt::DrawInfo::invisiblePaneCalculateMtx

Definition at line 87 of file lyt_drawInfo.h.

◆ debugDrawMode

u8 nw4r::lyt::DrawInfo::debugDrawMode

Definition at line 88 of file lyt_drawInfo.h.