AnimBundle

from panda3d.core import AnimBundle
class AnimBundle

Bases: AnimGroup

This is the root of an AnimChannel hierarchy. It knows the frame rate and number of frames of all the channels in the hierarchy (which must all match).

Inheritance diagram

Inheritance diagram of AnimBundle

__init__(*args, **kwargs)
base_frame_rate
copyBundle()

C++ Interface: copy_bundle(AnimBundle self)

/**
  • Returns a full copy of the bundle and its entire tree of nested AnimGroups.

  • However, the actual data stored in the leaves–that is, animation tables,

  • such as those stored in an AnimChannelMatrixXfmTable–will be shared.

*/

copy_bundle()

C++ Interface: copy_bundle(AnimBundle self)

/**
  • Returns a full copy of the bundle and its entire tree of nested AnimGroups.

  • However, the actual data stored in the leaves–that is, animation tables,

  • such as those stored in an AnimChannelMatrixXfmTable–will be shared.

*/

getBaseFrameRate()

C++ Interface: get_base_frame_rate(AnimBundle self)

/**
  • Returns the ideal number of frames per second of the animation, when it is

  • running at normal speed. This may not be the same as the actual playing

  • frame rate, as it might have been adjusted through set_play_rate() on the

  • AnimControl object. See AnimControl::get_effective_frame_rate().

*/

getClassType()

C++ Interface: get_class_type()

getNumFrames()

C++ Interface: get_num_frames(AnimBundle self)

/**
  • Returns the number of frames of animation, or 0 if the animation has no

  • fixed number of frames.

*/

get_base_frame_rate()

C++ Interface: get_base_frame_rate(AnimBundle self)

/**
  • Returns the ideal number of frames per second of the animation, when it is

  • running at normal speed. This may not be the same as the actual playing

  • frame rate, as it might have been adjusted through set_play_rate() on the

  • AnimControl object. See AnimControl::get_effective_frame_rate().

*/

get_class_type()

C++ Interface: get_class_type()

get_num_frames()

C++ Interface: get_num_frames(AnimBundle self)

/**
  • Returns the number of frames of animation, or 0 if the animation has no

  • fixed number of frames.

*/

num_frames