ShowBoundsEffect

class ShowBoundsEffect

Bases: RenderEffect

Applied to a GeomNode to cause a visible bounding volume to be drawn for this node. This is generally used only during development to help identify bounding volume issues.

Inheritance diagram

Inheritance diagram of ShowBoundsEffect

static TypeHandle get_class_type(void)
bool get_tight(void) const

Returns true if the “tight” flag was set, meaning the effect should compute and draw the tight bounding-box of the node’s vertices every frame.

static ConstPointerTo<RenderEffect> make(bool tight = false)

Constructs a new ShowBoundsEffect object.