Import
TileCreasedNormalsPlugin is an addon, and must be imported explicitly, see Installation#Addons.
import { TileCreasedNormalsPlugin } from 'three/addons/misc/TileCreasedNormalsPlugin.js';
Constructor
new TileCreasedNormalsPlugin( options : Object )
Constructs a new plugin.
| options |
The configuration options.
|
Properties
.creaseAngle : number
The crease angle in radians.
Methods
.dispose()
Called by the tiles renderer when the plugin is unregistered or the tiles renderer is disposed.
.processTileModel( scene : Object3D ) : Promise
Called by the tiles renderer for each loaded tile model. The tile is displayed once the returned promise resolves.
| scene |
The tile model. |
- Returns: A promise that resolves when all geometries have creased normals.