setIsCenterClampedToGround

abstract fun setIsCenterClampedToGround(isCenterClampedToGround: Boolean)

Sets the center clamped to the ground.

If true, the elevation of the center point will automatically be set to the terrain elevation (or zero if terrain is not enabled). If false, the elevation of the center point will default to sea level and will not automatically update.

Parameters

isCenterClampedToGround

Boolean indicating whether center is clamped to the ground.