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()
https://d33wubrfki0l68.cloudfront.net/50dbee6f4fb1fc37c212ec1b615fb2989d6efb41/86961/_images/pyvista-property-lighting-1_00_00.png