light2_intensity#

viewport.light2_intensity(p0: float) int#

Defines the intensity of light source 2, which is always at the location of the viewer (camera).

None
Args:
p0:

‘amount’ intensity of light source 2 (between 0.0 and 1.0)

Examples:
ensight.viewport.select_begin(3)
ensight.viewport.light1_position("Relative")
ensight.viewport.light1_azimuth(-9.702e+01)
ensight.viewport.light1_elevation(3.750e+01)
ensight.viewport.light_converttoabs()
ensight.viewport.light2_intensity(3.100e-01)
Returns:

zero on success, non-zero on error