panda3d.core.ShowBoundsEffect

from panda3d.core import 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 getClassType() → TypeHandle
Return type

TypeHandle

getTight() → bool

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 make(tight: bool) → RenderEffect

Constructs a new ShowBoundsEffect object.

Return type

RenderEffect