KnobSpec

data class KnobSpec(val name: String, val default: Double, val min: Double, val max: Double, val step: Double, val unit: String, val description: String = "")

One tunable parameter, described well enough to build a slider and run a sweep without knowing anything about the algorithm behind it.

Constructors

Link copied to clipboard
constructor(name: String, default: Double, min: Double, max: Double, step: Double, unit: String, description: String = "")

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val max: Double
Link copied to clipboard
val min: Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

"m", "m/s", "ms", "x" — display only.

Functions

Link copied to clipboard
fun clamp(value: Double): Double