isDisposed
GetterReadOnly
Returns true if this Viewport's dispose method has been invoked. It is an error to attempt to interact with a disposed Viewport. Typically a ScreenViewport becomes disposed as a result of a call to dropViewport, often indirectly through the unmounting of a nine-zone UI's ViewportComponent when, e.g., switching front-stages.
isDisposed: boolean
Returns - boolean
Defined in
- core/frontend/src/Viewport.ts Line 593
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.