跳到主要内容

flywave-3dtile-datasource.tiles3dstylewatcher

Home > @flywave/flywave-3dtile-datasource > Tiles3DStyleWatcher

Tiles3DStyleWatcher class

3D Tiles style watcher Responsible for monitoring tile loading events and automatically applying styles Implements GLSL-based B3DM/I3DM batch rendering

Signature:

export declare class Tiles3DStyleWatcher extends Observe3DTileChange 

Extends: Observe3DTileChange

Constructors

Constructor

Modifiers

Description

(constructor)(theme, styleSetName, m_mapRenderingManager, customAttributeConfig, animation)

Constructor

Properties

Property

Modifiers

Type

Description

styleEvaluator

readonly

BatchStyleProcessor

Methods

Method

Modifiers

Description

addStyle(style)

Add a new style to the style set.

dispose()

Disposes all resources and cleans up

onTileLoaded(tile)

Handles tile loaded event

onTileUnloaded(tile)

Handles tile unloaded event

removeStyleById(id)

Remove style by its identifier.

updateStyleById(id, updates)

Update style properties by its identifier.

updateTheme(theme)

Updates the theme configuration