constructor Method
TerrainSettings(props?)
TerrainSettings(props?: TerrainProps): TerrainSettings
Parameter | Type | Description |
---|---|---|
props | TerrainProps |
Returns - TerrainSettings
TerrainSettings(providerName?, exaggeration?, applyLighting?, heightOrigin?, heightOriginMode?)
Deprecated in 4.5.x. Use the overload that takes TerrainProps.
TerrainSettings(providerName?: string, exaggeration?: number, applyLighting?: boolean, heightOrigin?: number, heightOriginMode?: TerrainHeightOriginMode): TerrainSettings
Parameter | Type | Description |
---|---|---|
providerName | string | |
exaggeration | number | |
applyLighting | boolean | |
heightOrigin | number | |
heightOriginMode | TerrainHeightOriginMode |
Returns - TerrainSettings
Defined in
- core/common/src/TerrainSettings.ts Line 109
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.