Class LightSource
- Namespace
- OmegaEngine.Graphics
- Assembly
- OmegaEngine.dll
A light source that illuminates PositionableRenderables in a Scene.
public abstract class LightSource
- Inheritance
-
LightSource
- Derived
- Inherited Members
- Extension Methods
Constructors
LightSource()
Creates a new light source with a full white Diffuse component, a slight gray Specular component and no Ambient component
protected LightSource()
Properties
Ambient
The ambient color this light source emits
public Color Ambient { get; set; }
Property Value
Diffuse
The diffuse color this light source emits
public Color Diffuse { get; set; }
Property Value
Enabled
Shall the light source affect its surroundings?
public bool Enabled { get; set; }
Property Value
Name
Text value to make it easier to identify a particular camera
public string Name { get; set; }
Property Value
Specular
The specular color this light source emits
public Color Specular { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.