Namable
from panda3d.core import Namable
- class Namable
Bases:
DTOOL_SUPER_BASE
A base class for all things which can have a name. The name is either empty or nonempty, but it is never NULL.
Inheritance diagram
- __init__(*args, **kwargs)
- clearName()
C++ Interface: clear_name(const Namable self)
- /**
Resets the Namable’s name to empty.
*/
- clear_name()
C++ Interface: clear_name(const Namable self)
- /**
Resets the Namable’s name to empty.
*/
- getClassType()
C++ Interface: get_class_type()
- get_class_type()
C++ Interface: get_class_type()
- hasName()
C++ Interface: has_name(Namable self)
- /**
Returns true if the Namable has a nonempty name set, false if the name is
empty.
*/
- has_name()
C++ Interface: has_name(Namable self)
- /**
Returns true if the Namable has a nonempty name set, false if the name is
empty.
*/
- name
- output()
C++ Interface: output(Namable self, ostream out)
// In the absence of any definition to the contrary, outputting a Namable // will write out its name.
- /**
Outputs the Namable. This function simply writes the name to the output
stream; most Namable derivatives will probably redefine this.
*/