flywave-3dtile-datasource.tilerenderdatasource.settheme
Home > @flywave/flywave-3dtile-datasource > TileRenderDataSource > setTheme
TileRenderDataSource.setTheme() method
Apply the theme to this data source.
This method integrates with flywave.gl's theme system to support declarative styling of 3D Tiles content.
Signature:
setTheme(theme: ThemeExtra | FlatThemeExtra, languages?: string[]): Promise<void>;
Parameters
Parameter | Type | Description |
|---|---|---|
theme | ThemeExtra | FlatThemeExtra | The Theme to be applied |
languages | string[] | (Optional) Optional languages for localization |
Returns:
Promise<void>
Promise that resolves when theme is applied