151 virtual void doAction(
SoAction* action );
157 static void initClass();
158 static void exitClass();
161 int32_t getLightId()
const;
163 struct LightConfiguration
177 float constantAttenuation;
178 float linearAttenuation;
179 float quadraticAttenuation;
182 : transform(1, 0, 0, 0,
188 position =
SbVec4f( 0, 0, 0, 0 );
189 spotDirection =
SbVec3f( 0, 0, -1 );
192 ambientIntensity =
SbVec4f( 0, 0, 0, 1 );
193 diffuseIntensity =
SbVec4f( 1, 1, 1, 1 );
194 specularIntensity =
SbVec4f( 1, 1, 1, 1 );
195 constantAttenuation = 1.0f;
196 linearAttenuation = 0.0f;
197 quadraticAttenuation = 0.0f;
201 LightConfiguration lightConfiguration;
217 static SoLight::Members* getMembers(
const SoLight* sg );
#define SO_NODE_ABSTRACT_HEADER(className)
Abstract base class for all actions.
Performs a generic traversal of a scene graph or path.
Abstract base class for camera nodes.
Abstract base class for all light source nodes.
SoSFColor color
Light source illumination color.
SoSFFloat intensity
Illumination intensity of light source.
SoSFBool on
Determines whether the source is active or inactive.
Abstract base class for all database nodes.
Path that points to a list of hierarchical nodes.
Field containing a single Boolean value.
Field containing an RGB color.
Field containing a floating-point value.