PartBundleHandle¶
-
class PartBundleHandle¶
Bases:
ReferenceCountThis is a trivial class returned by
PartBundleNode::get_bundle(). Its purpose is to hold the actualPartBundlepointer contained within thePartBundleNode, so that scene graph flatten operations can safely combine or duplicatePartBundlesas necessary without affecting high-level bundle operations.The high-level Actor class defined in direct/src/actor, for instance, will store a list of PartBundleHandles instead of on actual
PartBundles, so that it will be immune to changes from these flatten operations.Inheritance diagram
digraph inheritance26a1f9d958 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "PartBundleHandle" [URL="acron.core.PartBundleHandle.html#acron.core.PartBundleHandle",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "ReferenceCount" -> "PartBundleHandle" [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=""]; }- PartBundleHandle.__init__()¶
- PartBundleHandle.get_bundle()¶
Returns the actual
PartBundleembedded within the handle.
- PartBundleHandle.set_bundle()¶
Changes the actual
PartBundleembedded within the handle.