50#ifndef _SO_ENVIRONMENT_
51#define _SO_ENVIRONMENT_
285 {
override.setValue(state); }
291 {
return override.getValue(); }
297 virtual void doAction(
SoAction *action);
300 static void initClass();
301 static void exitClass();
#define SO_NODE_HEADER(className)
Abstract base class for all actions.
Performs a generic traversal of a scene graph or path.
SoSFFloat ambientOcclusionIntensity
Intensity of ambient occlusion: the higher the value, the darker the scene.
SoSFFloat ambientOcclusionRadius
Specifies the radius of the "sphere" (in world space) beyond which the ambient occlusion has no more ...
SoEnvironment()
Creates an environment node with default settings.
SoSFColor ambientColor
RGB color of ambient lighting (for Phong lighting).
virtual SbBool isOverride() const
Returns the state of the overridden field.
SoSFFloat fogVisibility
Fog visibility distance, which is the distance at which fog totally obscures objects.
SoSFBool ambientOcclusion
If set to TRUE, ambient occlusion is activated.
@ FOG
Exponential increase in opacity.
@ HAZE
Linear increase in opacity with distance.
@ SMOKE
Exponential squared increase in opacity.
SoSFFloat ambientIntensity
Intensity of ambient light (for Phong lighting).
SoSFEnum fogType
Type of fog.
SoSFColor fogColor
Fog color.
SoSFVec3f attenuation
Squared, linear, and constant light attenuation coefficients (in that order).
virtual void setOverride(const SbBool state)
Sets the state of the overridden field.
SoSFFloat fogStart
Distance at which the linear fog HAZE starts to be applied.
Renders a scene graph using Open Inventor's Render Engine.
Abstract base class for all database nodes.
Field containing a single Boolean value.
Field containing an RGB color.
Field containing an enumerated value.
Field containing a floating-point value.
Field containing a three-dimensional vector.