Click or drag to resize

LightSettingsWithDiscreteLight Method

Gets a new instance of LightSettings with the provided value for one of the discrete lights with index 0..3.

Namespace: Altaxo.Graph.Graph3D
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public LightSettings WithDiscreteLight(
	int idx,
	IDiscreteLight? discreteLight
)

Parameters

idx  Int32
One of the indices of the discrete lights (0..3).
discreteLight  IDiscreteLight
The new value for the discrete light. This value can be null (in this case, the discrete light is removed).

Return Value

LightSettings
New instance of LightSettings with the provided value for the discrete light.
See Also