position

DSL for setting LightPosition.

abstract fun position(radialCoordinate: Double, azimuthalAngle: Double, polarAngle: Double): Light

Set the Position property.

Position of the light source relative to lit (extruded) geometries, in r radial coordinate, a azimuthal angle, p polar angle where r indicates the distance from the center of the base of an object to its light, a indicates the position of the light relative to 0° (0° when light.anchor is set to viewport corresponds to the top of the viewport, or 0° when light.anchor is set to map corresponds to due north, and degrees proceed clockwise), and p indicates the height of the light (from 0°, directly above, to 180°, directly below).

Parameters

position

as LightPosition

abstract fun position(position: LightPosition): Light

Set the Position property

Parameters

position

value of position as Expression

abstract fun position(position: Expression): Light