TiledGraphicsProvider Namespace
Defined in
TiledGraphicsProvider Interface
Provides a way for applications to inject additional non-decorative graphics into a Viewport by supplying one or more TileTreeReferences capable of loading and drawing the graphics.
@see - Viewport.addTiledGraphicsProvider to register a provider to be drawn in a viewport.
- Exploded View Sample for an interactive demonstration of a custom provider.
Methods
Name | Description | |
---|---|---|
forEachTileTreeRef(viewport: Viewport, func: (ref: TileTreeReference) => void): void | For each TileTreeReference belonging to this provider that should be drawn in the specified Viewport, apply the provided function. |
Properties
Name | Type | Description | |
---|---|---|---|
addToScene | undefined | (context: SceneContext) => void | ||
isLoadingComplete | undefined | (viewport: Viewport) => boolean |
Defined in
Last Updated: 16 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.