blenderproc.python.modules.lighting.LightSampler module

class blenderproc.python.modules.lighting.LightSampler.LightSampler(config)[source]

Bases: blenderproc.python.modules.lighting.LightInterface.LightInterface

Samples light source’s settings and sets them.

Configuration:

Parameter Description Type
lights List of lights, which contain all the information to create new lights. See the LightInterface for more information. Default: []. list
run()[source]

Sets light sources.