DebugPolygon Component

For drawing a polygon to the debug canvas

The methods of DebugCanvas can be used to control this component's appearance -- by default it is neither filled nor outlined

For debugging hitboxes, use WiredHitBox or SolidHitBox. For debugging MBR, use VisibleMBR

See Also

Methods

Back to top

.debugPolygon()

public .debugPolygon(Polygon poly)
poly

a polygon to render

Sets the polygon that this component renders to the debug canvas.