List object containg light settings.

Details

Available in add_geojson, add_pointcloud and add_polygon

  • numberOfLights - the number of lights. Maximum of 5

  • lightsPosition - vector of x, y, z coordinates. Must be 3x the nubmer of lights

  • ambientRatio - the ambient ratio of the lights

Examples

light <- list( lightsPosition = c(-150, 75, 0) , numberOfLights = 1 , ambientRatio = 0.2 )