SwitchNode
from panda3d.core import SwitchNode
- class SwitchNode
Bases:
SelectiveChildNode
A node that renders only one of its children, according to the user’s indication.
Inheritance diagram
- __init__(*args, **kwargs)
- getClassType()
C++ Interface: get_class_type()
- getVisibleChild()
C++ Interface: get_visible_child(SwitchNode self)
- /**
Returns the index of the child that should be visible.
*/
- get_class_type()
C++ Interface: get_class_type()
- get_visible_child()
C++ Interface: get_visible_child(SwitchNode self)
- /**
Returns the index of the child that should be visible.
*/
- setVisibleChild()
C++ Interface: set_visible_child(const SwitchNode self, int index)
- /**
Specifies the particular child of this node, by index, that will be
visible.
*/
- set_visible_child()
C++ Interface: set_visible_child(const SwitchNode self, int index)
- /**
Specifies the particular child of this node, by index, that will be
visible.
*/
- visible_child