|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.media.j3d.WakeupCondition | +--javax.media.j3d.WakeupCriterion | +--javax.media.j3d.WakeupOnElapsedFrames
Class specifying a wakeup when a specific number of frames have elapsed.
Constructor Summary | |
WakeupOnElapsedFrames(int frameCount)
Constructs a new WakeupOnElapsedFrames criterion. |
Method Summary | |
int |
getElapsedFrameCount()
Retrieve the WakeupCriterion's elapsed frame count that was used when constructing this object. |
Methods inherited from class javax.media.j3d.WakeupCriterion |
hasTriggered |
Methods inherited from class javax.media.j3d.WakeupCondition |
allElements,
triggeredElements |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public WakeupOnElapsedFrames(int frameCount)
frameCount
- the number of frames that Java 3D should draw before
awakening this behavior object; a value of N means wakeup at the end of
frame N, where the current frame is zero, a value of zero means wakeup
at the end of the current frame. A value less than zero will cause an
IllegalArgumentException to be thrown.Method Detail |
public int getElapsedFrameCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |