< Zurück | Inhalt | Weiter >

WakeupCriterion

java.lang.Object

|

+−−javax.media.j3d.WakeupCondition

|

+−−javax.media.j3d.WakeupCriterion


The WakeupCriterion derived classes (table 11.2) define the atomic events that can be used on their own or combined using the WakeupCondition (table 11.3).


Table 11.2 WakeupCriterion for triggering behaviors


Name

Behavior is called


WakeupOnActivation

The first time the Viewplatform's activation region intersects this object's scheduling region.

WakeupOnAWTEvent



Specific AWT event occurs.


WakeupOnBehaviorPost

Specific behavior object posts a specific event.


WakeupOnCollisionEntry

Specified object collides with any other object in the scene graph.


WakeupOnCollisionExit

Specified object no longer collides with any other object in the scene graph.


WakeupOnCollisionMovement

Specified object moves while in collision with any other object in the scene graph.


WakeupOnDeactivation

First detection of a Viewplatform's activation region no longer intersecting with this object's scheduling region.

WakeupOnElapsedFrames

Specific number of frames have elapsed.


WakeupOnElapsedTime

Specific number of milliseconds have elapsed.


WakeupOnSensorEntry

First time Viewplatform intersects the specified boundary.


WakeupOnSensorExit

First detection of a Viewplatform no longer intersecting the specified boundary.


WakeupOnTransformChange

Transform within a specified TransformGroup changes


WakeupOnViewPlatformEntry

First time Viewplatform intersects the specified boundary.


WakeupOnViewPlatformExit

First detection of a Viewplatform no longer intersecting the specified boundary.