|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectX3DLightNode
wobs.scene3d.nodes.DirectionalLight
public class DirectionalLight
This class contains index constants to access fields in a DirectionalLight node using the X3DNode.getField(int fieldIndex) method.
In X3D/VRML, the DirectionalLight node defines a directional light source that illuminates along rays parallel to a given 3-dimensional vector. The direction field specifies the direction vector of the illumination emanating from the light source in the local coordinate system. Light is emitted along parallel rays from an infinite distance away. A directional light source illuminates only the objects in its enclosing parent group. The light may illuminate everything within this coordinate system, including all children and descendants of its parent group. The accumulated transformations of the parent nodes affect the light.
| Field Summary | |
|---|---|
static int |
ambientIntensity
The constant used to access the ambientIntensity field of a DirectionalLight node. |
static int |
color
The constant used to access the color field of a DirectionalLight node. |
static int |
direction
The constant used to access the direction field of a DirectionalLight node. |
static int |
intensity
The constant used to access the intensity field of a DirectionalLight node. |
static int |
on
The constant used to access the on field of a DirectionalLight node. |
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ambientIntensity
public static final int color
public static final int direction
public static final int intensity
public static final int on
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||