AnimGroup
from panda3d.core import AnimGroup
- class AnimGroup
Bases:
TypedWritableReferenceCount
,Namable
This is the base class for AnimChannel and AnimBundle. It implements a hierarchy of AnimChannels. The root of the hierarchy must be an AnimBundle.
Inheritance diagram
- __init__(*args, **kwargs)
- children
- findChild()
C++ Interface: find_child(AnimGroup self, str name)
- /**
Returns the first descendant found with the indicated name, or NULL if no
such descendant exists. This method searches the entire graph beginning at
this AnimGroup; see also get_child_named().
*/
- find_child()
C++ Interface: find_child(AnimGroup self, str name)
- /**
Returns the first descendant found with the indicated name, or NULL if no
such descendant exists. This method searches the entire graph beginning at
this AnimGroup; see also get_child_named().
*/
- getChild()
C++ Interface: get_child(AnimGroup self, int n)
- /**
Returns the nth child of the group.
*/
- getChildNamed()
C++ Interface: get_child_named(AnimGroup self, str name)
- /**
Returns the first child found with the indicated name, or NULL if no such
child exists. This method searches only the children of this particular
AnimGroup; it does not recursively search the entire graph. See also
find_child().
*/
- getChildren()
- getClassType()
C++ Interface: get_class_type()
- getNumChildren()
C++ Interface: get_num_children(AnimGroup self)
- /**
Returns the number of child nodes of the group.
*/
- get_child()
C++ Interface: get_child(AnimGroup self, int n)
- /**
Returns the nth child of the group.
*/
- get_child_named()
C++ Interface: get_child_named(AnimGroup self, str name)
- /**
Returns the first child found with the indicated name, or NULL if no such
child exists. This method searches only the children of this particular
AnimGroup; it does not recursively search the entire graph. See also
find_child().
*/
- get_children()
- get_class_type()
C++ Interface: get_class_type()
- get_num_children()
C++ Interface: get_num_children(AnimGroup self)
- /**
Returns the number of child nodes of the group.
*/
- output()
C++ Interface: output(AnimGroup self, ostream out)
- /**
Writes a one-line description of the group.
*/
- sortDescendants()
C++ Interface: sort_descendants(const AnimGroup self)
- /**
Sorts the children nodes at each level of the hierarchy into alphabetical
order. This should be done after creating the hierarchy, to guarantee that
the correct names will match up together when the AnimBundle is later bound
to a PlayerRoot.
*/
- sort_descendants()
C++ Interface: sort_descendants(const AnimGroup self)
- /**
Sorts the children nodes at each level of the hierarchy into alphabetical
order. This should be done after creating the hierarchy, to guarantee that
the correct names will match up together when the AnimBundle is later bound
to a PlayerRoot.
*/
- upcastToNamable()
C++ Interface: upcast_to_Namable(const AnimGroup self)
upcast from AnimGroup to Namable
- upcastToTypedWritableReferenceCount()
C++ Interface: upcast_to_TypedWritableReferenceCount(const AnimGroup self)
upcast from AnimGroup to TypedWritableReferenceCount
- upcast_to_Namable()
C++ Interface: upcast_to_Namable(const AnimGroup self)
upcast from AnimGroup to Namable
- upcast_to_TypedWritableReferenceCount()
C++ Interface: upcast_to_TypedWritableReferenceCount(const AnimGroup self)
upcast from AnimGroup to TypedWritableReferenceCount