Open Inventor Reference
|
Abstract base class for all light source nodes. More...
#include <Inventor/nodes/SoLight.h>
Static Public Member Functions | |
static void | initClass () |
Initializes base node class. | |
Public Attributes | |
Fields | |
SoSFBool | on |
Determines whether the source is active or inactive. | |
SoSFFloat | intensity |
Illumination intensity of light source. | |
SoSFColor | color |
Light source illumination color. | |
Protected Member Functions | |
SoLight () | |
Makes this abstract. | |
virtual | ~SoLight () |
SoLight is the abstract base class for all light nodes. A light node defines an illumination source that may affect subsequent shapes in the scene graph, depending on the current lighting style. Light sources are affected by the current transformation. A light node under a separator does not affect any objects outside that separator.
You can also use a node kit to create a light; see the reference page for SoLightKit.
SoLight::SoLight | ( | ) | [protected] |
virtual SoLight::~SoLight | ( | ) | [protected, virtual] |
static void SoLight::initClass | ( | ) | [static] |
Reimplemented from SoNode.
Reimplemented in SoDirectionalLight, SoPointLight, SoSpotLight, SoDirectionalLightManip, SoPointLightManip, and SoSpotLightManip.