CullBinAttrib

from acron.core import CullBinAttrib
class CullBinAttrib

Bases:

Bases: RenderAttrib

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

Inheritance diagram

digraph inheritanceac2e028fe0 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "CullBinAttrib" [URL="acron.core.CullBinAttrib.html#acron.core.CullBinAttrib",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "RenderAttrib" -> "CullBinAttrib" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; "RenderAttrib" [URL="acron.core.RenderAttrib.html#acron.core.RenderAttrib",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritableReferenceCount" -> "RenderAttrib" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedWritable" [URL="acron.core.TypedWritable.html#acron.core.TypedWritable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedWritable" [arrowsize=0.75,style=""]; "TypedWritableReferenceCount" [URL="acron.core.TypedWritableReferenceCount.html#acron.core.TypedWritableReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritable" -> "TypedWritableReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedWritableReferenceCount" [arrowsize=0.75,style=""]; }
property bin_name → string

Returns the name of the bin this attribute specifies. If this is the empty string, it refers to the default bin.

property class_slot → int
property draw_order → int

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

Returns the name of the bin this attribute specifies. If this is the empty string, it refers to the default bin.

static get_class_slot()
static get_class_type()
get_draw_order()

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.

static make()

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).

static make_default()

Returns a RenderAttrib that corresponds to whatever the standard default properties for render attributes of this type ought to be.