31 return (_anim !=
nullptr);
53 return _channel_index;
92 operator << (std::ostream &out,
const AnimControl &control) {
A basic node of the scene graph or data graph.
const BitArray & get_bound_joints() const
Returns the subset of joints controlled by this AnimControl.
This is the root of an AnimChannel hierarchy.
AnimBundle * get_anim() const
Returns the AnimBundle bound in with this AnimControl.
A dynamic array with an unlimited number of bits.
bool has_anim() const
Returns true if the AnimControl was successfully loaded, or false if there was a problem.
PandaNode * get_anim_model() const
Retrieves the pointer set via set_anim_model().
int get_channel_index() const
Returns the particular channel index associated with this AnimControl.
Controls the timing of a character animation.
bool is_pending() const
Returns true if the AnimControl is being bound asynchronously, and has not yet finished.
void set_anim_model(PandaNode *model)
Associates the indicated PandaNode with the AnimControl.