AttributesDslProperty

sealed interface AttributesDslProperty

DSL property for configuring entity attributes.

attributes[Attribute.SCALE] by 2.0
attributes[Attribute.SCALE] by null // reset to default

Functions

Link copied to clipboard
abstract operator fun get(attribute: Attribute): DslProperty<Double?>

Gets the DSL property for attribute.