evaluateColor

abstract fun evaluateColor(feature: Cesium3DTileFeature, result: Color? = definedExternally): Color(source)

Evaluates the result of a Color expression, optionally using the provided feature's properties.

This is equivalent to StyleExpression.evaluate but always returns a Color object.

Return

The modified result parameter or a new Color instance if one was not provided.

Parameters

feature

The feature whose properties may be used as variables in the expression.

result

The object in which to store the result.

See also