#include <Inventor/VRMLnodes/SoVRMLLight.h>
Inheritance diagram for SoVRMLLight:
Public Methods | |
virtual void | GLRender (SoGLRenderAction *action) |
Static Public Methods | |
void | initClass (void) |
Public Attributes | |
SoSFBool | on |
SoSFFloat | intensity |
SoSFColor | color |
SoSFFloat | ambientIntensity |
Protected Methods | |
SoVRMLLight (void) | |
virtual | ~SoVRMLLight () |
|
Constructor. |
|
Destructor. |
|
Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. Reimplemented from SoNode. Reimplemented in SoVRMLDirectionalLight, SoVRMLPointLight, and SoVRMLSpotLight. |
|
Action method for the SoGLRenderAction. This is called during rendering traversals. Nodes influencing the rendering state in any way or who wants to throw geometry primitives at OpenGL overrides this method. Reimplemented from SoNode. Reimplemented in SoVRMLDirectionalLight, SoVRMLPointLight, and SoVRMLSpotLight. |
|
Enable/disable light. Default value is TRUE. |
|
The light intensity. A value from 0 to 1. Default value is 1. |
|
The light color. Default value is (1, 1, 1). |
|
The light ambient intensity. A value from 0 to 1. Default value is 0. |