PropertyFloat

@Serializable
@SerialName(value = "float")
data class PropertyFloat(val name: String, val value: Float, val description: String? = null, val fixedValues: Set<Float> = emptySet(), val readOnly: Boolean = false) : Property<Float> (source)

Property implementation for Float values.

Constructors

Link copied to clipboard
constructor(name: String, value: Float, description: String? = null, fixedValues: Set<Float> = emptySet(), readOnly: Boolean = false)

Properties

Link copied to clipboard
open override val description: String?

Optional description

Link copied to clipboard
open override val fixedValues: Set<Float>

Set of allowed float values (empty if no restrictions)

Link copied to clipboard

Checks if this property has fixed values defined.

Link copied to clipboard
open override val name: String

Unique name of the property

Link copied to clipboard
open override val readOnly: Boolean

Whether the property is read-only

Link copied to clipboard
open override val value: Float

Current float value