invalidateCachedDecorations Method

Beta

Forces removal of a specific decorator's cached decorations from this viewport, if they exist. This will force those decorations to be regenerated.

invalidateCachedDecorations(decorator: ViewportDecorator): void

see ViewportDecorator.useCachedDecorations.

Parameter Type Description
decorator ViewportDecorator  

Defined in

Last Updated: 08 September, 2020