Autodesk.AutoCAD.GraphicsInterface Namespace > AttenuationType Enumeration
Autodesk.AutoCAD.GraphicsInterface.AttenuationType Enumeration
Description

 

This .NET class wraps the AttenuationType ObjectARX class. AttenuationType gives the type of attenuation, or decay, for this light. This only applies to point and spot lights. Distant lights always have no attenuation.

Visual Basic
Public Enum AttenuationType
  None
  InverseLinear
  InverseSquare
End Enum
C#
public enum AttenuationType {
  None,
  InverseLinear,
  InverseSquare
}
Members
Members 
Description 
None 
No attenuation; emitted light has the same brightness (intensity) regardless of the distance to the source. 
InverseLinear 
Sets the attenuation to be the inverse of the linear distance from the lgiht source. 
InverseSquare 
Sets the attenuation to be the inverse of the square of the distance from the light source. 
   Comments?