blenderproc.python.modules.lighting.LightLoader module¶
-
class
blenderproc.python.modules.lighting.LightLoader.
LightLoader
(config)[source]¶ Bases:
blenderproc.python.modules.lighting.LightInterface.LightInterface
Loads light source’s settings and sets them.
Settings can be defined in the config file in the corresponding section or in the external file.
Configuration:
Parameter Description Type lights A list of dicts, where each entry describes one light. See the LightInterface, for more information. Default: [] list path The lines have to be formatted as specified in ‘file_format’. Default: empty string. string file_format A string which specifies how each line of the given file is formatted. The string should contain the keywords of the corresponding properties separated by a space. See LightInterface for allowed properties. Default: empty string. string