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

Description

Definition at line 81 of file g3d_resnode.h.

Public Member Functions

 NW4R_G3D_RESOURCE_FUNC_DEF (ResNode)
 
void PatchChrAnmResult (ChrAnmResult *pResult) const
 
void CalcChrAnmResult (ChrAnmResult *pResult) const
 
ResName GetResName () const
 
ulong GetID () const
 
ulong GetMtxID () const
 
bool IsVisible () const
 
void SetVisibility (bool visible)
 
Billboard GetBillboardMode () const
 
const math::VEC3GetTranslate () const
 
ResNode GetParentNode ()
 
ResNode GetParentNode () const
 
ResNode GetChildNode ()
 
ResNode GetChildNode () const
 
ResNode GetNextSibling ()
 
ResNode GetNextSibling () const
 
ResNode GetPrevSibling ()
 
ResNode GetPrevSibling () const
 
void EndEdit ()
 
- Public Member Functions inherited from nw4r::g3d::ResCommon< ResNodeData >
 ResCommon (void *pData)
 
 ResCommon (const void *pData)
 
bool IsValid () const
 
ResNodeDataptr ()
 
const ResNodeDataptr () const
 
ResNodeDataref ()
 
const ResNodeDataref () const
 
ResNodeDataofs_to_ptr_raw (s32 ofs)
 
const ResNodeDataofs_to_ptr_raw (s32 ofs) const
 
ResNodeDataofs_to_ptr (s32 ofs)
 
const ResNodeDataofs_to_ptr (s32 ofs) const
 
ResNodeData ofs_to_obj (s32 ofs)
 
const ResNodeData ofs_to_obj (s32 ofs) const
 

Additional Inherited Members

- Public Types inherited from nw4r::g3d::ResNodeDataTypedef
enum  Billboard {
  BILLBOARD_OFF ,
  BILLBOARD_STD ,
  BILLBOARD_PERSP_STD ,
  BILLBOARD_ROT ,
  BILLBOARD_PERSP_ROT ,
  BILLBOARD_Y_OFF ,
  BILLBOARD_PERSP_Y ,
  NUM_BILLBOARD
}
 

Member Function Documentation

◆ GetResName()

ResName nw4r::g3d::ResNode::GetResName ( ) const
inline

Definition at line 88 of file g3d_resnode.h.

◆ GetID()

ulong nw4r::g3d::ResNode::GetID ( ) const
inline

Definition at line 98 of file g3d_resnode.h.

◆ GetMtxID()

ulong nw4r::g3d::ResNode::GetMtxID ( ) const
inline

Definition at line 106 of file g3d_resnode.h.

◆ IsVisible()

bool nw4r::g3d::ResNode::IsVisible ( ) const
inline

Definition at line 114 of file g3d_resnode.h.

◆ SetVisibility()

void nw4r::g3d::ResNode::SetVisibility ( bool visible)
inline

Definition at line 122 of file g3d_resnode.h.

◆ GetBillboardMode()

Billboard nw4r::g3d::ResNode::GetBillboardMode ( ) const
inline

Definition at line 134 of file g3d_resnode.h.

◆ GetTranslate()

const math::VEC3 & nw4r::g3d::ResNode::GetTranslate ( ) const
inline

Definition at line 142 of file g3d_resnode.h.

◆ GetParentNode() [1/2]

ResNode nw4r::g3d::ResNode::GetParentNode ( )
inline

Definition at line 146 of file g3d_resnode.h.

◆ GetParentNode() [2/2]

ResNode nw4r::g3d::ResNode::GetParentNode ( ) const
inline

Definition at line 149 of file g3d_resnode.h.

◆ GetChildNode() [1/2]

ResNode nw4r::g3d::ResNode::GetChildNode ( )
inline

Definition at line 153 of file g3d_resnode.h.

◆ GetChildNode() [2/2]

ResNode nw4r::g3d::ResNode::GetChildNode ( ) const
inline

Definition at line 156 of file g3d_resnode.h.

◆ GetNextSibling() [1/2]

ResNode nw4r::g3d::ResNode::GetNextSibling ( )
inline

Definition at line 160 of file g3d_resnode.h.

◆ GetNextSibling() [2/2]

ResNode nw4r::g3d::ResNode::GetNextSibling ( ) const
inline

Definition at line 163 of file g3d_resnode.h.

◆ GetPrevSibling() [1/2]

ResNode nw4r::g3d::ResNode::GetPrevSibling ( )
inline

Definition at line 167 of file g3d_resnode.h.

◆ GetPrevSibling() [2/2]

ResNode nw4r::g3d::ResNode::GetPrevSibling ( ) const
inline

Definition at line 170 of file g3d_resnode.h.

◆ EndEdit()

void nw4r::g3d::ResNode::EndEdit ( )
inline

Definition at line 174 of file g3d_resnode.h.