Class ColorLightBase
Base implementation of IColorLight
[DataContract(Inherited = true)]
public abstract class ColorLightBase : IColorLight, ILight
  - Inheritance
 - 
      objectColorLightBase
 
- Implements
 
- Derived
 
Constructors
ColorLightBase()
protected ColorLightBase()
  Properties
Color
Gets or sets the light color.
[DataMember(-10)]
public IColorProvider Color { get; set; }
  Property Value
- IColorProvider
 The color.
Methods
ComputeColor(ColorSpace, float)
Computes the color with intensity, result is in linear space.
public Color3 ComputeColor(ColorSpace colorSpace, float intensity)
  Parameters
colorSpaceColorSpaceintensityfloat
Returns
- Color3
 Gets the color of this light in linear space.
Update(RenderLight)
public abstract bool Update(RenderLight light)
  Parameters
lightRenderLight