Namable

from panda3d.core import Namable
class Namable

Bases:

Bases: MemoryBase

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

Inheritance diagram of Namable

__init__(param0: Namable)
__init__(initial_name: str)
clear_name()

Resets the Namable’s name to empty.

static get_class_type() TypeHandle
get_name() str
has_name() bool

Returns true if the Namable has a nonempty name set, false if the name is empty.

property name string
output(out: ostream)

Outputs the Namable. This function simply writes the name to the output stream; most Namable derivatives will probably redefine this.

set_name(name: str)