23 EggAnimData(
const string &name) :
EggNode(name) {
35 EggNode(copy), _data(copy._data),
36 _fps(copy._fps), _has_fps(copy._has_fps) {
47 EggNode::operator = (copy);
50 _has_fps = copy._has_fps;
61 INLINE
void EggAnimData::
73 INLINE
void EggAnimData::
83 INLINE
bool EggAnimData::
95 nassertr(has_fps(), 0.0);
117 _data.push_back(value);
void add_data(double value)
Adds a single element to the table.
int get_size() const
Returns the number of elements in the table.
PTA_double get_data() const
Returns the entire table of data.
void clear_data()
Removes all data and empties the table.
void set_data(const PTA_double &data)
Replaces the entire table of data.
double get_fps() const
This is only valid if has_fps() returns true.
A base class for EggSAnimData and EggXfmAnimData, which contain rows and columns of numbers...
A base class for things that may be directly added into the egg hierarchy.