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


Back to top


public .debugPolygon(Polygon poly)

a polygon to render

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