AnimBundle¶
-
class AnimBundle¶
Bases:
AnimGroupThis 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
digraph inheritance4ca75af979 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "AnimBundle" [URL="acron.core.AnimBundle.html#acron.core.AnimBundle",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "AnimGroup" -> "AnimBundle" [arrowsize=0.75,style=""]; "AnimGroup" [URL="acron.core.AnimGroup.html#acron.core.AnimGroup",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritableReferenceCount" -> "AnimGroup" [arrowsize=0.75,style=""]; "Namable" -> "AnimGroup" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "Namable" [URL="acron.core.Namable.html#acron.core.Namable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "Namable" [arrowsize=0.75,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedWritable" [URL="acron.core.TypedWritable.html#acron.core.TypedWritable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedWritable" [arrowsize=0.75,style=""]; "TypedWritableReferenceCount" [URL="acron.core.TypedWritableReferenceCount.html#acron.core.TypedWritableReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritable" -> "TypedWritableReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedWritableReferenceCount" [arrowsize=0.75,style=""]; }- AnimBundle.__init__()¶
Creates a new
AnimBundle, just like this one, without copying any children. The new copy is added to the indicated parent. Intended to be called by make_copy() only.
- AnimBundle.copy_bundle()¶
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.
- AnimBundle.get_base_frame_rate()¶
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
AnimControlobject. See AnimControl::get_effective_frame_rate().
- static AnimBundle.get_class_type()¶
- AnimBundle.get_num_frames()¶
Returns the number of frames of animation, or 0 if the animation has no fixed number of frames.