Skip to main content

flywave-mapview.tile.shoulddisposeobjectmaterial

Home > @flywave/flywave-mapview > Tile > shouldDisposeObjectMaterial

Tile.shouldDisposeObjectMaterial() method

Called when the default implementation of dispose() needs to free a Tile object's material.

Signature:

shouldDisposeObjectMaterial(object: TileObject): boolean;

Parameters

Parameter

Type

Description

object

TileObject

The object referencing the geometry.

Returns:



boolean

`true` if the material can be disposed.