Class LocalFog

java.lang.Object
org.web3d.x3d.jsail.X3DConcreteElement
org.web3d.x3d.jsail.X3DConcreteNode
org.web3d.x3d.jsail.EnvironmentalEffects.LocalFog
All Implemented Interfaces:
X3DChildNode, X3DNode, LocalFog, X3DFogObject

public class LocalFog extends X3DConcreteNode implements LocalFog
LocalFog simulates atmospheric effects by blending distant objects with fog color.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes. LocalFog node tooltip: [X3DChildNode,X3DFogObject] LocalFog simulates atmospheric effects by blending distant objects with fog color. LocalFog effects occur around the local transformation center, rather than bound to the viewer. The nearest LocalFog node within range takes precedence over other LocalFog and Fog nodes.
  • Hint: LocalFog effects are based on its position in the world, as given by current transformation hierarchy.
  • Hint: LocalFog effects remain independent of current view location.
  • Warning: LocalFog only affects geometry within the same scene subgraph.
  • Warning: LocalFog is not a bindable node.

Note that SFColor provides a variety of color constants.

Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also: