XYParameter

@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class XYParameter(val label: String, val minX: Double = -1.0, val maxX: Double = 1.0, val minY: Double = -1.0, val maxY: Double = 1.0, val precision: Int = 2, val showVector: Boolean = false, val invertY: Boolean = true, val order: Int = Int.MAX_VALUE)(source)

Vector2 annotation for a vector 2 parameter

Properties

Link copied to clipboard
val invertY: Boolean = true
Link copied to clipboard

a short description of the parameter

Link copied to clipboard
val maxX: Double = 1.0
Link copied to clipboard
val maxY: Double = 1.0
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val order: Int

hint for where to place the parameter in user interfaces

Link copied to clipboard
val precision: Int = 2
Link copied to clipboard
val showVector: Boolean = false