55#ifndef _SO_SPOT_LIGHT_
56#define _SO_SPOT_LIGHT_
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_NODE_HEADER(className)
Non-abstract classes have everything abstract classes have, plus a way to create an instance.
Renders a scene graph using OpenGL.
Abstract base class for all light source nodes.
Field containing a floating-point value.
Field containing a three-dimensional vector.
Node representing a spotlight source.
virtual void GLRender(SoGLRenderAction *action)
Creates a light source during rendering.
SoSFFloat cutOffAngle
direction: 0 = constant intensity, 1 = sharp drop-off
SoSFVec3f location
Location of the source.
SoSpotLight()
intensity is zero, measured from edge of cone to other edge
SoSFFloat dropOffRate
Rate of intensity drop-off per change in angle from primary direction: 0 = constant intensity,...
SoSFVec3f direction
Principal direction of illumination (center axis of cone).