get

operator fun get(attribute: Attribute): Double

Gets the base value of the specified attribute.

Return

The base value of the attribute, or 0.0 if the attribute is not present

Parameters

attribute

The attribute to retrieve