flywave-3dtile-datasource.tilesrenderer
Home > @flywave/flywave-3dtile-datasource > TilesRenderer
TilesRenderer class
3D Tiles renderer that integrates with flywave.gl's MapView system
This class extends the base Three.js TilesRenderer to provide integration with flywave.gl's MapView, including: - MapView camera integration - Scene management - Raycasting for picking - Tile lifecycle management - Geographic extent calculation - Debug visualization support
Signature:
export declare class TilesRenderer extends ThreeTilesRenderer implements ITilesRenderer
Extends: ThreeTilesRenderer
Implements: ITilesRenderer
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Creates a new TilesRenderer instance |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(observeTileChange: Observe3DTileChange) => void | Adds an observer for tile change events | ||
| string | ||
Object3D | |||
(raycaster: Raycaster, intersects: TileIntersection[]) => void | Performs raycasting for picking operations | ||
(observeTileChange: Observe3DTileChange) => void | Removes an observer for tile change events |
Methods
Method | Modifiers | Description |
|---|---|---|
Connects the renderer to a MapView | ||
Disconnects the renderer from the MapView | ||
Disposes of the renderer and cleans up resources | ||
| Performs the actual update of the 3D tiles This method is called internally by the update() method | |
Gets the maximum geometry height of the tileset | ||
Gets the minimum geometry height of the tileset | ||
| Gets the projection used by the connected MapView | |
Gets the root tile of the tileset | ||
Gets the bounding volume region of the root tile | ||
Parses a tile during loading | ||
Pre-processes a tile node during loading | ||
Sets the active state of a tile | ||
Sets the visibility of the 3D tiles | ||
Updates the 3D tiles renderer This method should be called every frame to update the tiles |