All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.media.j3d.AmbientLight

java.lang.Object
   |
   +----java.media.j3d.SceneGraphObject
           |
           +----java.media.j3d.Node
                   |
                   +----java.media.j3d.Leaf
                           |
                           +----java.media.j3d.Light
                                   |
                                   +----java.media.j3d.AmbientLight

public class AmbientLight
extends Light
An ambient light source object.


Constructor Index

 o AmbientLight()
Constructs and initializes an ambient light using default parameters.
 o AmbientLight(boolean, Color3f)
Constructs and initializes an ambient light using the specified parameters.
 o AmbientLight(Color3f)
Constructs and initializes an ambient light using the specified parameters.

Constructors

 o AmbientLight
 public AmbientLight()
Constructs and initializes an ambient light using default parameters.

 o AmbientLight
 public AmbientLight(Color3f color)
Constructs and initializes an ambient light using the specified parameters.

Parameters:
color - the color of the light source.
 o AmbientLight
 public AmbientLight(boolean lightOn,
                     Color3f color)
Constructs and initializes an ambient light using the specified parameters.

Parameters:
lightOn - flag indicating whether this light is on or off.
color - the color of the light source.

All Packages  Class Hierarchy  This Package  Previous  Next  Index