Package javax.media.j3d
Class WakeupOnViewPlatformExit
java.lang.Object
javax.media.j3d.WakeupCondition
javax.media.j3d.WakeupCriterion
javax.media.j3d.WakeupOnViewPlatformExit
Class specifying a wakeup when an active ViewPlatform no longer
intersects the specified boundary.
-
Constructor Summary
ConstructorsConstructorDescriptionWakeupOnViewPlatformExit
(Bounds region) Constructs a new WakeupOnExit criterion. -
Method Summary
Modifier and TypeMethodDescriptionReturns this object's bounds specificationRetrieves the ViewPlatform node that caused the wakeup.Methods inherited from class javax.media.j3d.WakeupCriterion
hasTriggered
Methods inherited from class javax.media.j3d.WakeupCondition
allElements, triggeredElements
-
Constructor Details
-
WakeupOnViewPlatformExit
Constructs a new WakeupOnExit criterion.- Parameters:
region
- the region that will trigger a wakeup if a ViewPlatform no longer intersects.
-
-
Method Details
-
getBounds
Returns this object's bounds specification- Returns:
- the bounds used in constructing this WakeupCriterion.
-
getTriggeringViewPlatform
Retrieves the ViewPlatform node that caused the wakeup.- Returns:
- the triggering ViewPlatform node
- Throws:
IllegalStateException
- if not called from within a behavior's processStimulus method that was awoken by a view platform exit.- Since:
- Java 3D 1.3
-