com.jme.scene.state
Class LightUtil

java.lang.Object
  extended by com.jme.scene.state.LightUtil

public class LightUtil
extends java.lang.Object


Constructor Summary
LightUtil()
           
 
Method Summary
protected static float getColorValue(Light l)
           
protected static float getValueFor(Light l, BoundingVolume val)
           
protected static float getValueFor(PointLight l, BoundingVolume val)
           
protected static float getValueFor(SpotLight l, BoundingVolume val)
           
static void sort(Geometry geometry, java.util.List<Light> lights)
           
protected static float strength(ColorRGBA color)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LightUtil

public LightUtil()
Method Detail

sort

public static void sort(Geometry geometry,
                        java.util.List<Light> lights)

getValueFor

protected static float getValueFor(Light l,
                                   BoundingVolume val)

getValueFor

protected static float getValueFor(PointLight l,
                                   BoundingVolume val)

getValueFor

protected static float getValueFor(SpotLight l,
                                   BoundingVolume val)

getColorValue

protected static float getColorValue(Light l)

strength

protected static float strength(ColorRGBA color)