7 class anmTexPat_c :
public banm_c {
9 anmTexPat_c() : children(
nullptr) {}
10 virtual ~anmTexPat_c();
11 virtual void remove();
15 static size_t heapCost(nw4r::g3d::ResMdl mdl, nw4r::g3d::ResAnmTexPat anmTexPat,
long count,
bool calcAligned);
16 bool create(nw4r::g3d::ResMdl mdl, nw4r::g3d::ResAnmTexPat anmTexPat,
mAllocator_c *allocator,
size_t *objSize,
long count);
18 void releaseAnm(
long idx);
20 float getFrame(
long idx)
const;
21 void setFrame(
float frame,
long idx);
22 float getRate(
long idx)
const;
23 void setRate(
float rate,
long idx);
24 bool isStop(
long idx)
const;
25 bool checkFrame(
float frame,
long idx)
const;
27 float getFrameMax(
long idx)
const;
28 float getFrameStart(
long idx)
const;
30 bool create(nw4r::g3d::ResMdl mdl, nw4r::g3d::ResAnmTexPat anmTexPat,
mAllocator_c *allocator,
int count) {
31 return create(mdl, anmTexPat, allocator,
nullptr, count);
34 bool create(nw4r::g3d::ResMdl mdl, nw4r::g3d::ResAnmTexPat anmTexPat,
mAllocator_c *allocator) {
35 return create(mdl, anmTexPat, allocator, 1);
40 virtual banm_c::anmType_e getType(
void )
const {
return banm_c::TYPE_ANM_TEX_PAT; };
43 static size_t heapCost(nw4r::g3d::ResMdl mdl, nw4r::g3d::ResAnmTexPat anmTexPat,
bool calcAligned);
44 bool create(nw4r::g3d::ResMdl mdl, nw4r::g3d::ResAnmTexPat anmTexPat,
mAllocator_c *allocator,
size_t *objSize);
47 void setFrmCtrlDefault(nw4r::g3d::ResAnmTexPat &anmTexPat,
m3d::playMode_e playMode);