Class PointLight
- Namespace
- OmegaEngine.Graphics
- Assembly
- OmegaEngine.dll
A light source that has a fixed position and shines uniformly in all directions.
public sealed class PointLight : LightSource, IPositionable
- Inheritance
-
PointLight
- Implements
- Inherited Members
- Extension Methods
Properties
Attenuation
Factors describing the attenuation of light intensity over distance.
public Attenuation Attenuation { get; set; }
Property Value
Position
The position of the light source
public DoubleVector3 Position { get; set; }
Property Value
Range
The maximum distance at which the light source has an effect.
public float Range { get; set; }
Property Value
RenderAsDirectional
Shall this light source be converted to a pseudo-directional source for each individual PositionableRenderable before rendering?
public bool RenderAsDirectional { get; set; }
Property Value
Shift
Stores an offset used by game logic positioning code. Ignore by the engine itself!
public Vector3 Shift { get; set; }
Property Value
- Vector3