constructor Method

Overloads
constructorTerrainSettings(props?)  
constructorTerrainSettings(providerName?, exaggeration?, applyLighting?, heightOrigin?, heightOriginMode?) Deprecated  

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

Last Updated: 13 November, 2024