Class LightSource
- Namespace
- AlphaFramework.World.Components
- Assembly
- AlphaFramework.World.dll
Represents a point light source.
public class LightSource : Render, ICloneable
- Inheritance
-
LightSource
- Implements
- Inherited Members
- Extension Methods
Properties
Attenuation
Factors describing the attenuation of light intensity over distance.
public Attenuation Attenuation { get; set; }
Property Value
Color
The color of this point light source.
[LuaHide]
public Color Color { get; set; }
Property Value
Remarks
Is not serialized/stored, ColorValue is used for that.
ColorValue
Used for XML serialization.
[LuaHide]
[Browsable(false)]
public XColor ColorValue { get; set; }
Property Value
- See Also
Range
The maximum distance at which the light source has an effect.
public float Range { get; set; }