com.sun.j3d.loaders.lw3d
Class LwLightObject

java.lang.Object
  extended by com.sun.j3d.loaders.lw3d.LwLightObject

 class LwLightObject
extends java.lang.Object

This class is used to set the Light Intensity value according to the keyframe value of the envelope for that light. The class is used in conjunction with LightIntensityPathInterpolator, which uses this class as the target of its interpolations.


Field Summary
(package private)  Color3f color
           
(package private)  float intensity
           
(package private)  Light theLight
           
 
Constructor Summary
LwLightObject(Light theLight, float intensity, Color3f color)
           
 
Method Summary
(package private)  void setColor(Color3f color)
           
(package private)  void setIntensity(float intensity)
           
(package private)  void setLight(Light l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

intensity

float intensity

color

Color3f color

theLight

Light theLight
Constructor Detail

LwLightObject

LwLightObject(Light theLight,
              float intensity,
              Color3f color)
Method Detail

setIntensity

void setIntensity(float intensity)

setColor

void setColor(Color3f color)

setLight

void setLight(Light l)


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.