addOverlay Method

Add a graphic to the list of dynamic graphics to be drawn in this context's Viewport. These graphics are drawn as part of the viewport's scene as described by GraphicType.Scene, except that they always draw on top of other graphics as with WorldOverlay.

addOverlay(graphic: RenderGraphic): void

@see addGraphic to add an ordinary scene graphic instead.

Parameter Type Description
graphic RenderGraphic  

Returns - void

Defined in

Last Updated: 11 September, 2025