All Packages Class Hierarchy This Package Previous Next Index
Class java.media.j3d.WakeupOnElapsedFrames
java.lang.Object
|
+----java.media.j3d.WakeupCondition
|
+----java.media.j3d.WakeupCriterion
|
+----java.media.j3d.WakeupOnElapsedFrames
- public final class WakeupOnElapsedFrames
- extends WakeupCriterion
Class specifying a wakeup when a specific number of milliseconds
have elapsed.
-
WakeupOnElapsedFrames(int)
- Constructs a new WakeupOnElapsedFrames criterion.
-
getElapsedFrameCount()
- Retrieve the WakeupCriterion's elapsed frame count.
WakeupOnElapsedFrames
public WakeupOnElapsedFrames(int frameCount)
- Constructs a new WakeupOnElapsedFrames criterion.
- Parameters:
- frameCount - the number of frames that Java 3D should draw before
awakening this behavior object. A value of zero means wakeup at the
next frame.
getElapsedFrameCount
public int getElapsedFrameCount()
- Retrieve the WakeupCriterion's elapsed frame count.
- Returns:
- the elapsed frame count specified when constructing this object
All Packages Class Hierarchy This Package Previous Next Index