NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
m3d::scnLeaf_c Class Referenceabstract
Inheritance diagram for m3d::scnLeaf_c:
[legend]

Description

Definition at line 7 of file scn_leaf.hpp.

Public Types

enum  leafType_e {
  TYPE_BMDL ,
  TYPE_UNUSED ,
  TYPE_PROC
}
 

Public Member Functions

virtual leafType_e getType () const =0
 
virtual void remove ()
 
virtual void entry ()
 
void setOption (ulong option, ulong value)
 
bool getOption (ulong option, ulong *value) const
 
void setScale (float x, float y, float z)
 
void setScale (const nw4r::math::VEC3 &scale)
 
void setLocalMtx (const nw4r::math::MTX34 *mtx)
 
void getLocalMtx (nw4r::math::MTX34 *mtx) const
 
void getViewMtx (nw4r::math::MTX34 *mtx) const
 
void calc (bool keepEnabledAfter)
 
void calcVtx (bool keepEnabledAfter)
 
void setPriorityDraw (int prioOpa, int prioXlu)
 
nw4r::g3d::ScnObjgetScn () const
 

Protected Attributes

nw4r::g3d::ScnLeafmpScn
 

Member Enumeration Documentation

◆ leafType_e

Unofficial name.

Definition at line 10 of file scn_leaf.hpp.

Constructor & Destructor Documentation

◆ scnLeaf_c()

m3d::scnLeaf_c::scnLeaf_c ( )

Definition at line 3 of file scn_leaf.cpp.

◆ ~scnLeaf_c()

m3d::scnLeaf_c::~scnLeaf_c ( )
virtual

Definition at line 7 of file scn_leaf.cpp.

Member Function Documentation

◆ remove()

void m3d::scnLeaf_c::remove ( )
virtual

Definition at line 11 of file scn_leaf.cpp.

◆ entry()

void m3d::scnLeaf_c::entry ( )
virtual

Definition at line 19 of file scn_leaf.cpp.

◆ setOption()

void m3d::scnLeaf_c::setOption ( ulong option,
ulong value )

Definition at line 23 of file scn_leaf.cpp.

◆ getOption()

bool m3d::scnLeaf_c::getOption ( ulong option,
ulong * value ) const

Definition at line 27 of file scn_leaf.cpp.

◆ setScale() [1/2]

void m3d::scnLeaf_c::setScale ( float x,
float y,
float z )

Definition at line 31 of file scn_leaf.cpp.

◆ setScale() [2/2]

void m3d::scnLeaf_c::setScale ( const nw4r::math::VEC3 & scale)

Definition at line 35 of file scn_leaf.cpp.

◆ setLocalMtx()

void m3d::scnLeaf_c::setLocalMtx ( const nw4r::math::MTX34 * mtx)

Definition at line 39 of file scn_leaf.cpp.

◆ getLocalMtx()

void m3d::scnLeaf_c::getLocalMtx ( nw4r::math::MTX34 * mtx) const

Definition at line 43 of file scn_leaf.cpp.

◆ getViewMtx()

void m3d::scnLeaf_c::getViewMtx ( nw4r::math::MTX34 * mtx) const

Definition at line 47 of file scn_leaf.cpp.

◆ calc()

void m3d::scnLeaf_c::calc ( bool keepEnabledAfter)

Definition at line 51 of file scn_leaf.cpp.

◆ calcVtx()

void m3d::scnLeaf_c::calcVtx ( bool keepEnabledAfter)

Definition at line 59 of file scn_leaf.cpp.

◆ setPriorityDraw()

void m3d::scnLeaf_c::setPriorityDraw ( int prioOpa,
int prioXlu )

Definition at line 67 of file scn_leaf.cpp.

◆ getScn()

nw4r::g3d::ScnObj * m3d::scnLeaf_c::getScn ( ) const
inline

Definition at line 34 of file scn_leaf.hpp.

Member Data Documentation

◆ mpScn

nw4r::g3d::ScnLeaf* m3d::scnLeaf_c::mpScn
protected

Definition at line 37 of file scn_leaf.hpp.