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

Description

Definition at line 71 of file g3d_anmclr.h.

Public Member Functions

 AnmObjMatClrNode (MEMAllocator *pAllocator, u16 *pBindingBuf, int numBinding, AnmObjMatClrRes **ppChildrenBuf, int numChildren)
 
virtual void G3dProc (ulong task, ulong param, void *pInfo)
 
virtual void SetFrame (f32 frame)
 
virtual f32 GetFrame () const
 
virtual void UpdateFrame ()
 
virtual void SetUpdateRate (f32 rate)
 
virtual f32 GetUpdateRate () const
 
virtual bool Bind (const ResMdl mdl)
 
virtual void Release ()
 
virtual AnmObjMatClrResAttach (int idx, AnmObjMatClrRes *pRes)
 
virtual AnmObjMatClrResDetach (int idx)
 
virtual void DetachAll ()
 
int Size () const
 
AnmObjMatClrResGetChild (int idx) const
 
- Public Member Functions inherited from nw4r::g3d::AnmObjMatClr
 AnmObjMatClr (MEMAllocator *pAllocator, u16 *pBindingBuf, int numBinding)
 
virtual const ClrAnmResultGetResult (ClrAnmResult *pResult, ulong idx)=0
 
bool TestExistence (ulong idx) const
 
bool TestDefined (ulong idx) const
 
- Public Member Functions inherited from nw4r::g3d::AnmObj
 AnmObj (MEMAllocator *pAllocator, G3dObj *pParent)
 
void SetAnmFlag (AnmFlag flag, bool value)
 
bool TestAnmFlag (AnmFlag flag) const
 
bool IsBound () const
 
- Public Member Functions inherited from nw4r::g3d::G3dObj
virtual bool IsDerivedFrom (TypeObj other) const
 
virtual const TypeObj GetTypeObj () const
 
virtual const char * GetTypeName () const
 
 G3dObj (MEMAllocator *pAllocator, G3dObj *pParent)
 
G3dObjGetParent () const
 
void SetParent (G3dObj *pParent)
 
void DetachFromParent ()
 
void Destroy ()
 

Protected Member Functions

 NW4R_G3D_RTTI_DECL_DERIVED (AnmObjMatClrNode, AnmObjMatClr)
 
- Protected Member Functions inherited from nw4r::g3d::AnmObjMatClr
 NW4R_G3D_RTTI_DECL_DERIVED (AnmObjMatClr, AnmObj)
 

Protected Attributes

int mChildrenArraySize
 
AnmObjMatClrRes ** mpChildrenArray
 
- Protected Attributes inherited from nw4r::g3d::AnmObjMatClr
int mNumBinding
 
u16 *const mpBinding
 

Additional Inherited Members

- Public Types inherited from nw4r::g3d::AnmObj
enum  AnmFlag {
  FLAG_NEED_UPDATE = (1 << 0) ,
  FLAG_CACHE_OBSOLETE = (1 << 1) ,
  FLAG_ANM_BOUND = (1 << 2) ,
  FLAG_USE_QUATERNION_ROTATION_BLEND = (1 << 3) ,
  FLAG_USE_ACCURATE_SCALE_BLEND = (1 << 4)
}
 
- Public Types inherited from nw4r::g3d::G3dObj
enum  G3dProcTask {
  G3DPROC_NONE = 0x00000 ,
  G3DPROC_CALC_WORLD = 0x00001 ,
  G3DPROC_CALC_MAT = 0x00002 ,
  G3DPROC_CALC_VTX = 0x00003 ,
  G3DPROC_CALC_VIEW = 0x00004 ,
  G3DPROC_GATHER_SCNOBJ = 0x00005 ,
  G3DPROC_DRAW_OPA = 0x00006 ,
  G3DPROC_DRAW_XLU = 0x00007 ,
  G3DPROC_UPDATEFRAME = 0x00008 ,
  __G3DPROC_OPTIONAL_END ,
  G3DPROC_CHILD_DETACHED = 0x10001 ,
  G3DPROC_ATTACH_PARENT = 0x10002 ,
  G3DPROC_DETACH_PARENT = 0x10003 ,
  G3DPROC_ZSORT = 0x10004
}
 
- Static Public Member Functions inherited from nw4r::g3d::G3dObj
static const G3dObj::TypeObj GetTypeObjStatic ()
 
static void * Alloc (MEMAllocator *pAllocator, ulong size)
 
static void Dealloc (MEMAllocator *pAllocator, void *pBlock)
 
static void * operator new (size_t, void *pBlock)
 
static void operator delete (void *)
 
template<typename TTo>
static TTo * DynamicCast (G3dObj *pObj)
 
- Protected Types inherited from nw4r::g3d::AnmObjMatClr
enum  BindingFlag {
  BINDING_ID_MASK = (1 << 14) - 1 ,
  BINDING_INVALID = (1 << 14) ,
  BINDING_UNDEFINED = (1 << 15)
}
 
- Static Protected Attributes inherited from nw4r::g3d::AnmObjMatClr
static const int DEFAULT_MAX_CHILDREN = 4
 

Member Function Documentation

◆ G3dProc()

virtual void nw4r::g3d::AnmObjMatClrNode::G3dProc ( ulong task,
ulong param,
void * pInfo )
virtual

◆ SetFrame()

virtual void nw4r::g3d::AnmObjMatClrNode::SetFrame ( f32 frame)
virtual

◆ GetFrame()

virtual f32 nw4r::g3d::AnmObjMatClrNode::GetFrame ( ) const
virtual

◆ UpdateFrame()

virtual void nw4r::g3d::AnmObjMatClrNode::UpdateFrame ( )
virtual

◆ SetUpdateRate()

virtual void nw4r::g3d::AnmObjMatClrNode::SetUpdateRate ( f32 rate)
virtual

◆ GetUpdateRate()

virtual f32 nw4r::g3d::AnmObjMatClrNode::GetUpdateRate ( ) const
virtual

◆ Bind()

virtual bool nw4r::g3d::AnmObjMatClrNode::Bind ( const ResMdl mdl)
virtual

◆ Release()

virtual void nw4r::g3d::AnmObjMatClrNode::Release ( )
virtual

Reimplemented from nw4r::g3d::AnmObjMatClr.

◆ Attach()

virtual AnmObjMatClrRes * nw4r::g3d::AnmObjMatClrNode::Attach ( int idx,
AnmObjMatClrRes * pRes )
virtual

Reimplemented from nw4r::g3d::AnmObjMatClr.

◆ Detach()

virtual AnmObjMatClrRes * nw4r::g3d::AnmObjMatClrNode::Detach ( int idx)
virtual

Reimplemented from nw4r::g3d::AnmObjMatClr.

◆ DetachAll()

virtual void nw4r::g3d::AnmObjMatClrNode::DetachAll ( )
virtual

Reimplemented from nw4r::g3d::AnmObjMatClr.

◆ Size()

int nw4r::g3d::AnmObjMatClrNode::Size ( ) const
inline

Definition at line 92 of file g3d_anmclr.h.

◆ GetChild()

AnmObjMatClrRes * nw4r::g3d::AnmObjMatClrNode::GetChild ( int idx) const
inline

Definition at line 93 of file g3d_anmclr.h.

Member Data Documentation

◆ mChildrenArraySize

int nw4r::g3d::AnmObjMatClrNode::mChildrenArraySize
protected

Definition at line 96 of file g3d_anmclr.h.

◆ mpChildrenArray

AnmObjMatClrRes** nw4r::g3d::AnmObjMatClrNode::mpChildrenArray
protected

Definition at line 97 of file g3d_anmclr.h.