Light

Lights can be added to the scene to illuminate the objects.

class pysg.light.Light(color: tuple, name: str = 'Light')

Base class of all lights which can be added to the scene.

class pysg.light.PointLight(color: tuple, name: str = 'PointLight')

Point light emits light in all directions from a single point.

Parameters:color – The light intensity of light source.