addGraphic Method

Add a graphic to the list of dynamic graphics to be drawn in this context's Viewport. These graphics are drawn as GraphicType.Scene.

addGraphic(graphic: RenderGraphic): void

@see addOverlay to add a graphic to be drawn as an overlay instead.

Parameter Type Description
graphic RenderGraphic  

Returns - void

Defined in

Last Updated: 11 September, 2025