M_Rhino_Geometry_Light_SetAttenuation - mcneel/rhinocommon-api-docs GitHub Wiki
Sets the attenuation settings (ignored for "directional" and "ambient" lights). attenuation = 1/(a0 + da1 + d^2a2) where d = distance to light.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public void SetAttenuation(
double a0,
double a1,
double a2
)
VB
Public Sub SetAttenuation (
a0 As Double,
a1 As Double,
a2 As Double
)
- a0
- Type: System.Double
The new constant attenuation divisor term. - a1
- Type: System.Double
The new reverse linear attenuation divisor term. - a2
- Type: System.Double
The new reverse quadratic attenuation divisor term.
Supported in: 6.0.16224.21491, 5D58w