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
- core/frontend/src/ViewContext.ts Line 119
Last Updated: 11 September, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.