Click or drag to resize

LightSetAttenuation Method

Sets the attenuation settings (ignored for "directional" and "ambient" lights).

attenuation = 1/(a0 + d*a1 + d^2*a2) where d = distance to light.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public void SetAttenuation(
	double a0,
	double a1,
	double a2
)

Parameters

a0
Type: SystemDouble
The new constant attenuation divisor term.
a1
Type: SystemDouble
The new reverse linear attenuation divisor term.
a2
Type: SystemDouble
The new reverse quadratic attenuation divisor term.
See Also