17 INLINE AnimPreloadTable::AnimRecord::
24 INLINE
bool AnimPreloadTable::AnimRecord::
25 operator < (
const AnimRecord &other)
const {
26 return _basename < other._basename;
34 nassertr(n >= 0 && n < (
int)_anims.
size(), std::string());
36 return _anims[n]._basename;
44 nassertr(n >= 0 && n < (
int)_anims.
size(), 0.0f);
46 return _anims[n]._base_frame_rate;
54 nassertr(n >= 0 && n < (
int)_anims.
size(), 0);
56 return _anims[n]._num_frames;
62 INLINE
void AnimPreloadTable::
63 consider_sort()
const {
This table records data about a list of animations for a particular model, such as number of frames a...
size_type_0 size() const
Returns the number of elements in the ordered vector.
std::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.