clone Method
Create a copy of this TerrainSettings, optionally modifying some of its properties.
clone(changedProps?: TerrainProps): TerrainSettings
Parameter | Type | Description |
---|---|---|
changedProps | TerrainProps | JSON representation of the properties to change. |
Returns - TerrainSettings
A TerrainSettings with all of its properties set to match those ofthis
, except those explicitly defined in changedProps
.
Defined in
- core/common/src/TerrainSettings.ts Line 141
Last Updated: 20 June, 2023