OmegaEngine API  1.0.3
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

◆ LightSource()

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

◆ Ambient

Color OmegaEngine.Graphics.LightSource.Ambient
getset

The ambient color this light source emits

◆ Diffuse

Color OmegaEngine.Graphics.LightSource.Diffuse
getset

The diffuse color this light source emits

◆ Enabled

bool OmegaEngine.Graphics.LightSource.Enabled
getset

Shall the light source affect its surroundings?

◆ Name

string OmegaEngine.Graphics.LightSource.Name
getset

Text value to make it easier to identify a particular camera

◆ Specular

Color OmegaEngine.Graphics.LightSource.Specular
getset

The specular color this light source emits


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