CullBinAttrib

from panda3d.core import CullBinAttrib
class CullBinAttrib

Bases: RenderAttrib

Assigns geometry to a particular bin by name. The bins must be created separately via the CullBinManager interface.

Inheritance diagram

Inheritance diagram of CullBinAttrib

__init__(*args, **kwargs)
bin_name
class_slot = 11
draw_order
getBinName()

C++ Interface: get_bin_name(CullBinAttrib self)

/**
  • Returns the name of the bin this attribute specifies. If this is the empty

  • string, it refers to the default bin.

*/

getClassSlot()

C++ Interface: get_class_slot()

getClassType()

C++ Interface: get_class_type()

getDrawOrder()

C++ Interface: get_draw_order(CullBinAttrib self)

/**
  • Returns the draw order this attribute specifies. Some bins (in particular,

  • CullBinFixed bins) use this to further specify the order in which objects

  • should be rendered.

*/

get_bin_name()

C++ Interface: get_bin_name(CullBinAttrib self)

/**
  • Returns the name of the bin this attribute specifies. If this is the empty

  • string, it refers to the default bin.

*/

get_class_slot()

C++ Interface: get_class_slot()

get_class_type()

C++ Interface: get_class_type()

get_draw_order()

C++ Interface: get_draw_order(CullBinAttrib self)

/**
  • Returns the draw order this attribute specifies. Some bins (in particular,

  • CullBinFixed bins) use this to further specify the order in which objects

  • should be rendered.

*/

make()

C++ Interface: make(str bin_name, int draw_order)

/**
  • Constructs a new CullBinAttrib assigning geometry into the named bin. If

  • the bin name is the empty string, the default bin is used.

  • The draw_order specifies further ordering information which is relevant

  • only to certain kinds of bins (in particular CullBinFixed type bins).

*/

makeDefault()

C++ Interface: make_default()

/**
  • Returns a RenderAttrib that corresponds to whatever the standard default

  • properties for render attributes of this type ought to be.

*/

make_default()

C++ Interface: make_default()

/**
  • Returns a RenderAttrib that corresponds to whatever the standard default

  • properties for render attributes of this type ought to be.

*/