ViewportDecorator Interface
Interface for drawing Decorations into, or on top of, a ScreenViewport.
Methods
Name | Description | |
---|---|---|
decorate(context: DecorateContext): void | Implement this method to add Decorations into the supplied DecorateContext. |
Properties
Name | Type | Description | |
---|---|---|---|
useCachedDecorations Readonly | "true" | undefined | Override to enable cached decorations for this decorator. |
Defined in
- core/frontend/src/Viewport.ts Line 74
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.