spaceColor

abstract fun spaceColor(@ColorInt spaceColor: Int): Atmosphere

The color of the region above the horizon and after the end of the horizon-blend contribution. The opacity can be set to 0 to have a transparent background. Default value: "["interpolate","linear","zoom",4,"#010b19",7,"#367ab9"]".

Parameters

spaceColor

as int


abstract fun spaceColor(spaceColor: String): Atmosphere

The color of the region above the horizon and after the end of the horizon-blend contribution. The opacity can be set to 0 to have a transparent background. Default value: "["interpolate","linear","zoom",4,"#010b19",7,"#367ab9"]".

Parameters

spaceColor

as String


abstract fun spaceColor(spaceColor: Expression = Expression.fromRaw("""["interpolate",["linear"],["zoom"],4,"#010b19",7,"#367ab9"]""".trimIndent())): Atmosphere

The color of the region above the horizon and after the end of the horizon-blend contribution. The opacity can be set to 0 to have a transparent background. Default value: "["interpolate","linear","zoom",4,"#010b19",7,"#367ab9"]".

Parameters

spaceColor

value of spaceColor as Expression