21 INLINE AnimPreloadTable::AnimRecord::
30 INLINE
bool AnimPreloadTable::AnimRecord::
31 operator < (
const AnimRecord &other)
const {
32 return _basename < other._basename;
43 nassertr(n >= 0 && n < (
int)_anims.size(), string());
45 return _anims[n]._basename;
56 nassertr(n >= 0 && n < (
int)_anims.size(), 0.0f);
58 return _anims[n]._base_frame_rate;
69 nassertr(n >= 0 && n < (
int)_anims.size(), 0);
71 return _anims[n]._num_frames;
80 INLINE
void AnimPreloadTable::
81 consider_sort()
const {
This table records data about a list of animations for a particular model, such as number of frames a...
string get_basename(int n) const
Returns the basename stored for the nth animation record.
PN_stdfloat get_base_frame_rate(int n) const
Returns the frame rate stored for the nth animation record.
int get_num_frames(int n) const
Returns the number of frames stored for the nth animation record.