NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
Definition at line 7 of file anm_chr_blend.hpp.
Public Member Functions | |
virtual banm_c::anmType_e | getType () const |
bool | create (nw4r::g3d::ResMdl mdl, int count, mAllocator_c *allocator, size_t *objSize) |
void | attach (int idx, nw4r::g3d::AnmObjChrRes *chrRes, float weight) |
void | attach (int idx, m3d::anmChr_c *anmChrRes, float weight) |
void | detach (int idx) |
![]() | |
fanm_c () | |
Constructs an animation object. | |
virtual | ~fanm_c () |
Destroys the animation object. | |
virtual void | play () |
Updates the animation. Call this function every frame to update the animation. | |
void | set (float duration, m3d::playMode_e playMode, float updateRate, float startFrame) |
Starts the animation with the given parameters. | |
void | setFrame (float frame) |
Jumps to the specified frame in the animation. | |
bool | isStop () const |
Checks whether the animation is stopped. | |
bool | checkFrame (float frame) const |
Checks whether the animation has reached the specified frame. | |
![]() | |
virtual void | remove () |
bool | createAllocator (mAllocator_c *allocator, size_t *size) |
bool | IsBound () const |
float | getFrame () const |
void | setFrameOnly (float frame) |
float | getRate () const |
void | setRate (float rate) |
nw4r::g3d::AnmObj * | getObj () |
Additional Inherited Members | |
![]() | |
enum | anmType_e { TYPE_ANM_CHR , TYPE_ANM_VIS , TYPE_ANM_MAT_CLR , TYPE_ANM_TEX_PAT , TYPE_ANM_TEX_SRT , TYPE_ANM_OTHER } |
![]() | |
float | mFrameMax |
The last frame number of the animation. | |
float | mFrameStart |
The first frame number of the animation. | |
float | mCurrFrame |
The frame the animation is currently on. | |
u8 | mPlayMode |
The play mode of the animation. | |
![]() | |
nw4r::g3d::AnmObj * | mpObj |
EGG::FrmHeap * | mpHeap |
mAllocator_c | mAllocator |
|
inlinevirtual |
Implements m3d::banm_c.
Definition at line 9 of file anm_chr_blend.hpp.
bool m3d::anmChrBlend_c::create | ( | nw4r::g3d::ResMdl | mdl, |
int | count, | ||
mAllocator_c * | allocator, | ||
size_t * | objSize ) |
Definition at line 3 of file anm_chr_blend.cpp.
void m3d::anmChrBlend_c::attach | ( | int | idx, |
nw4r::g3d::AnmObjChrRes * | chrRes, | ||
float | weight ) |
Definition at line 22 of file anm_chr_blend.cpp.
void m3d::anmChrBlend_c::attach | ( | int | idx, |
m3d::anmChr_c * | anmChrRes, | ||
float | weight ) |
Definition at line 28 of file anm_chr_blend.cpp.
void m3d::anmChrBlend_c::detach | ( | int | idx | ) |
Definition at line 33 of file anm_chr_blend.cpp.