pyvista.Property.lighting#

property Property.lighting: bool[source]#

Return or set view direction lighting.

Examples

Disable lighting.

>>> import pyvista as pv
>>> prop = pv.Property()
>>> prop.lighting = False
>>> prop.lighting
False

Visualize it.

>>> prop.plot()
../../../_images/pyvista-Property-lighting-1_00_00.png