blenderproc.python.modules.writer.LightStateWriter module

class blenderproc.python.modules.writer.LightStateWriter.LightStateWriter(config)[source]

Bases: blenderproc.python.modules.writer.WriterInterface.WriterInterface

Writes the state of all lights for each frame to a file.

run()[source]

Collection all lights and writes them to a numpy file if no hdf5 file was available