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