geLight

From GriffinEngine
Jump to: navigation, search

Usage

The representation of a light in the scene graph. It contains a few settings, and can be added/removed from the scene graph just like any other node. In order for it to be used in rendering, it must be registered using the addSceneLight method in geState.


Inheritance

Base Classes


Reference

Fields

Note: See geColor for general information about color variables.
  •  color diffuse;
  •  color specular;

Constructors

  •  geLight( color _diffuse = 0xFFFFFFFF, color _specular = 0xFFFFFFFF );