nodes
Class PointLight

java.lang.Object
  |
  +--nodes.PointLight

public class PointLight
extends java.lang.Object

This class contains index constants to access fields in a PointLight node using the WF3DNode.getField (int fieldIndex) method.

In VRML, the PointLight node specifies a point light source at a 3D location in the local coordinate system. A point light source emits light equally in all directions; that is, it is omnidirectional. PointLight nodes are specified in the local coordinate system and are affected by ancestor transformations.


Field Summary
static int ambientIntensity
          The constant used to access the ambientIntensity field of a PointLight node.
static int color
          The constant used to access the color field of a PointLight node.
static int intensity
          The constant used to access the intensity field of a PointLight node.
static int location
          The constant used to access the location field of a PointLight node.
static int on
          The constant used to access the on field of a PointLight node.
static int radius
          The constant used to access the radius field of a PointLight node.
 
Constructor Summary
PointLight()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ambientIntensity

public static final int ambientIntensity
The constant used to access the ambientIntensity field of a PointLight node.
In VRML, this field specifies the ambient intensity, in the range of 0 to 1. The ambient intensity specifies the intensity of the ambient emission from the light.

This field is of VRML-type SFFloat.

See Also:
Constant Field Values

color

public static final int color
The constant used to access the color field of a PointLight node.
In VRML, this field specifies the light color. Colors are specified with hexadecimal values (0xRRGGBB).

This field is of VRML-type SFColor.

See Also:
Constant Field Values

intensity

public static final int intensity
The constant used to access the intensity field of a PointLight node.
In VRML, this field specifies the light intensity, in the range of 0 to 1

This field is of VRML-type SFFloat.

See Also:
Constant Field Values

location

public static final int location
The constant used to access the location field of a PointLight node.
In VRML, this field specifies the light location.

This field is of VRML-type SFVec3f.

See Also:
Constant Field Values

on

public static final int on
The constant used to access the on field of a PointLight node.
In VRML, this field turns the light on and off.

This field is of VRML-type SFBool.

See Also:
Constant Field Values

radius

public static final int radius
The constant used to access the radius field of a PointLight node.
In VRML, this field specifies the light radius, in the range of 0 to infinity. A PointLight node illuminates geometry within the radius of its location.

This field is of VRML-type SFFloat.

See Also:
Constant Field Values
Constructor Detail

PointLight

public PointLight()