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

Inheritance diagram of Namable

__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()

getName()

C++ Interface: get_name(Namable self)

/**

*/

get_class_type()

C++ Interface: get_class_type()

get_name()

C++ Interface: get_name(Namable self)

/**

*/

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.

*/

setName()

C++ Interface: set_name(const Namable self, str name)

/**

*/

set_name()

C++ Interface: set_name(const Namable self, str name)

/**

*/