![]() |
http://www.sim.no/ http://www.coin3d.org/ |
The SoVRMLLight class is a superclass for VRML light nodes. More...
#include <Inventor/VRMLnodes/SoVRMLLight.h>
Public Member Functions | |
virtual void | GLRender (SoGLRenderAction *action) |
Static Public Member Functions | |
static void | initClass (void) |
Public Attributes | |
SoSFBool | on |
SoSFFloat | intensity |
SoSFColor | color |
SoSFFloat | ambientIntensity |
Protected Member Functions | |
SoVRMLLight (void) | |
virtual | ~SoVRMLLight () |
The SoVRMLLight class is a superclass for VRML light nodes.
SoVRMLLight::SoVRMLLight | ( | void | ) | [protected] |
Constructor.
SoVRMLLight::~SoVRMLLight | ( | ) | [protected, virtual] |
Destructor.
void SoVRMLLight::initClass | ( | void | ) | [static] |
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.
void SoVRMLLight::GLRender | ( | SoGLRenderAction * | action | ) | [virtual] |
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.
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on 7 Jan 2016 for Coin by Doxygen 1.6.1.