org.xith3d.effects.atmosphere
Class AtmosphereFactory
java.lang.Object
org.xith3d.effects.atmosphere.AtmosphereFactory
- All Implemented Interfaces:
- Updatable
- Direct Known Subclasses:
- GLSLAtmosphereFactory
public abstract class AtmosphereFactory
- extends java.lang.Object
- implements Updatable
This factory generates atmospheric effects for spheres.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtmosphereFactory
protected AtmosphereFactory()
setSphere
public void setSphere(Sphere sphere)
getSphere
public final Sphere getSphere()
setLight
public void setLight(PointLight light)
getLight
public final PointLight getLight()
getLightPos
protected final org.openmali.vecmath2.Point3f getLightPos(org.openmali.vecmath2.Point3f lightPos)
setWavelength3
public void setWavelength3(org.openmali.vecmath2.Tuple3f wavelength3)
getWavelength3
public final org.openmali.vecmath2.Tuple3f getWavelength3()
prepareAtmosphere
protected abstract void prepareAtmosphere(Sphere sphere,
float atmosphereRadius,
PointLight light)
prepareAtmosphere
public final void prepareAtmosphere(Sphere sphere,
float atmosphereRadius,
PointLight light,
Updater updater)