OmegaEngine API  1.0.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Protected Member Functions | Properties | List of all members
OmegaEngine.Graphics.LightSource Class Reference

A light source that illimunates PositionableRenderables in a Scene. More...

Inheritance diagram for OmegaEngine.Graphics.LightSource:
OmegaEngine.Graphics.DirectionalLight OmegaEngine.Graphics.PointLight

Public Member Functions

override string ToString ()
 

Protected Member Functions

 LightSource ()
 Creates a new light source with a full white Diffuse component, a slight gray Specular component and no Ambient component More...
 

Properties

string Name [get, set]
 Text value to make it easier to identify a particular camera More...
 
bool Enabled [get, set]
 Shall the light source affect its surroundings? More...
 
Color Diffuse [get, set]
 The diffuse color this light source emits More...
 
Color Specular [get, set]
 The specular color this light source emits More...
 
Color Ambient [get, set]
 The ambient color this light source emits More...
 

Detailed Description

A light source that illimunates PositionableRenderables in a Scene.

See Also
Scene.Lights

Constructor & Destructor Documentation

OmegaEngine.Graphics.LightSource.LightSource ( )
inlineprotected

Creates a new light source with a full white Diffuse component, a slight gray Specular component and no Ambient component

Property Documentation

Color OmegaEngine.Graphics.LightSource.Ambient
getset

The ambient color this light source emits

Color OmegaEngine.Graphics.LightSource.Diffuse
getset

The diffuse color this light source emits

bool OmegaEngine.Graphics.LightSource.Enabled
getset

Shall the light source affect its surroundings?

string OmegaEngine.Graphics.LightSource.Name
getset

Text value to make it easier to identify a particular camera

Color OmegaEngine.Graphics.LightSource.Specular
getset

The specular color this light source emits


The documentation for this class was generated from the following file: