org.xith3d.schedops.properties
Class BrightnessFadeOutManager
java.lang.Object
org.xith3d.loop.opscheduler.Interval
org.xith3d.schedops.properties.ValueInterpolator
org.xith3d.schedops.properties.BrightnessFadeOutManager
- All Implemented Interfaces:
- org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject
public class BrightnessFadeOutManager
- extends ValueInterpolator
The BrightnessFadeOutManager manipulates the brightness to fade to black.
|
Method Summary |
protected void |
applyValue(float value)
This method is invoked each time slice. |
static void |
fade(Canvas3D canvas,
OperationScheduler opScheder,
long fadeTime,
float startBrightness,
float gamma,
float contrast)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BrightnessFadeOutManager
public BrightnessFadeOutManager(Canvas3D canvas,
OperationScheduler opScheder,
long fadeTime,
float startBrightness,
float gamma,
float contrast)
applyValue
protected void applyValue(float value)
- This method is invoked each time slice.
Override it to do someting useful with the normalized value.
- Specified by:
applyValue in class ValueInterpolator
fade
public static void fade(Canvas3D canvas,
OperationScheduler opScheder,
long fadeTime,
float startBrightness,
float gamma,
float contrast)