Fields
SFNode [in, out] metadata NULL [X3DMetadataObject]
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
SFBool [in] set_bind
Setting set_bind true makes this node active setting set_bind false makes this node inactive. Thus setting set_bind true/false will pop/push (enable/disable) this node.
SFString [in, out] fogType "LINEAR" ["LINEAR"|"EXPONENTIAL"]
Specifies algorithm for rate of increasing Fog, either LINEAR or EXPONENTIAL.
Hint
EXPONENTIAL is more natural but also more computationally expensive.
Warning
Do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.
SFColor [in, out] color 1 1 1 [0,1]
Fog color.
Hint
Match Background color to make objects fade away.
See Also
SFFloat [in, out] visibilityRange [0,∞)
Distance in meters where objects are totally obscured by the fog, using local coordinate system.
Hint
VisibilityRange 0 disables Fog.
SFBool [out] isBound
Event true sent when node becomes active, event false sent when unbound by another node.
SFTime [out] bindTime
Event sent when node becomes active/inactive.
Description
Hint
- NavigationInfo, Background, TextureBackground, Fog, OrthoViewpoint and Viewpoint are bindable nodes, meaning that no more than one of each node type can be active at a given time.
Warning
- Results are undefined if a bindable node (Viewpoint, OrthoViewpoint, NavigationInfo, Fog, Background, TextureBackground) is a contained child of LOD or Switch.