Interface DirectionalLight

All Superinterfaces:
X3DChildNode, X3DLightNode, X3DNode
All Known Implementing Classes:
DirectionalLight

public interface DirectionalLight extends X3DLightNode
DirectionalLight might not be scoped by parent Group or Transform at levels 1 or 2.

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. DirectionalLight node tooltip: [X3DLightNode] DirectionalLight defines parallel light rays that illuminate geometric shapes. Lighting illuminates all geometry except lines and points. By default, light scope only illuminates peer geometry and children nodes within the scene graph hierarchy. No source location is needed since rays are parallel from an infinitely distant source. DirectionalLight nodes do not attenuate with distance. Lights have no visible shape themselves and lighting effects continue through any intermediate geometry.
  • Hint: animate direction to simulate time-of-day sunlight effects.
  • Hint: the bound NavigationInfo controls whether headlight is enabled on/off. Interchange profile
  • Hint: light might not be scoped by parent Group or Transform.

Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also: