Properties:
angle (type: number) — the maximum angle in radians of light dispersion (upper bound is π/2), default: π/2

color (type: color) — default: whitecoords (type: coord)target (type: coord)Add a spotlight to the scene.
{
"type": "spot",
"color": [1, 1, 0],
"coords": [[2, 2, 2]],
"target": [[0, 0, 0]]
}
{
"type": "spot",
"color": [1, 1, 1],
"coords": [null, [1, 1, 1]],
"target": [[0, 0, 0]]
}