NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
Definition at line 8 of file scn_group.hpp.
Public Member Functions | |
virtual bool | Insert (unsigned long, nw4r::g3d::ScnObj *) |
virtual void | Remove (unsigned long) |
NW4R_G3D_TYPE_OBJ_DECL (ScnGroup) | |
![]() | |
virtual void | ForEach () |
virtual void | SetScnObjOption (ulong option, ulong value) |
virtual bool | GetScnObjOption (ulong option, ulong *value) const |
virtual float | GetValueForSortOpa () const |
virtual float | GetValueForSortXlu () const |
void | SetPriorityDrawOpa (int priority) |
void | SetPriorityDrawXlu (int priority) |
virtual void | CalcWorldMtx (const nw4r::math::MTX34 *, unsigned long *) const |
void | SetMtx (ScnObjMtxType, const nw4r::math::MTX34 *) |
void | GetMtx (ScnObjMtxType, nw4r::math::MTX34 *) const |
NW4R_G3D_TYPE_OBJ_DECL (ScnObj) | |
![]() | |
virtual bool | IsDerivedFrom (G3dObj::TypeObj) const |
virtual void | G3dProc (ulong proc, ulong param, void *info)=0 |
virtual const TypeObj | GetTypeObj () |
virtual const char * | GetTypeName () |
void | Destroy () |
void | DetachFromParent () |
Public Attributes | |
ScnObj ** | objs |
u32 | reservedCount |
u32 | count |
![]() | |
u32 | unk1 |
MEMAllocator * | mpAllocator |
math::MTX34 | mMtxs [3] |
math::AABB | aabbs [2] |
u32 | mFlags |
u8 | opaPriority |
u8 | xluPriority |
u32 | unk2 |
u8 | callbackTimingFlags |
u16 | scnCallbackOp |
Additional Inherited Members | |
![]() | |
enum | ScnObjMtxType { TYPE_LOCAL , TYPE_UNK , TYPE_VIEW } |
enum | OptID { OPTID_DISABLE_GATHER_DRAW_SCNOBJ = 1 , OPTID_DISABLE_CALC_WORLD , OPTID_DISABLE_CALC_MAT , OPTID_DISABLE_CALC_VTX , OPTID_DISABLE_CALC_VIEW , OPTID_DISABLE_DRAW_OPA , OPTID_DISABLE_DRAW_XLU , OPTID_DISABLE_UPDATEFRAME , OPTID_ENABLE_CULLING } |
Operation options for ScnObj. | |
enum | Timing { CALLBACK_TIMING_A = BIT_FLAG(0) , CALLBACK_TIMING_B = BIT_FLAG(1) , CALLBACK_TIMING_C = BIT_FLAG(2) , CALLBACK_TIMING_ALL = CALLBACK_TIMING_A | CALLBACK_TIMING_B | CALLBACK_TIMING_C } |
![]() | |
enum | G3dProcOp { G3DPROC_CALC_WORLD = 1 , G3DPROC_CALC_MAT , G3DPROC_CALC_VTX , G3DPROC_CALC_VIEW , G3DPROC_GATHER_SCNOBJ , G3DPROC_DRAW_OPA , G3DPROC_DRAW_XLU , G3DPROC_UPDATEFRAME , G3DPROC_CHILD_DETACHED = 0x00010001 , G3DPROC_ATTACHED , G3DPROC_DETACHED , G3DPROC_SORT } |
The possible G3D process operations. | |
enum | G3dProcParam { G3DPROCPARAM_CALC_WORLD_SCNOBJMTX_NOUPDATE = BIT_FLAG(0) , G3DPROCPARAM_SORT_ZSORT = BIT_FLAG(-1) , G3DPROCPARAM_SORT_SORT = BIT_FLAG(0) , G3DPROCPARAM_SORT_SORT_WITHFUNC = BIT_FLAG(1) } |
Additional parameters for G3D process operations. | |
![]() | |
template<typename DerivedType, typename Type> | |
static DerivedType * | DynamicCast (Type *obj) |
ScnObj** nw4r::g3d::ScnGroup::objs |
Definition at line 15 of file scn_group.hpp.
u32 nw4r::g3d::ScnGroup::reservedCount |
Definition at line 16 of file scn_group.hpp.
u32 nw4r::g3d::ScnGroup::count |
Definition at line 17 of file scn_group.hpp.