setRampingEnabled

abstract fun setRampingEnabled(enabled: Boolean): Ramping

Set whether the ramping function is enabled. If disabled, the value will instantly set its value to the target value.

Return

this

Parameters

enabled

whether the ramping function is enabled, default is on