pygfx.helpers.SpotLightHelper

class pygfx.helpers.SpotLightHelper(color=None)

Bases: Line

Light source indicator for spot lights.

Helper class to visualize a spot light. The helper object should be a child of the light object.

Parameters:

color (Color) – The color of the arrows. If None, match the color of the light.