Class WakeupOnViewPlatformEntry


public final class WakeupOnViewPlatformEntry extends WakeupCriterion
Class specifying a wakeup when an active ViewPlatform intersects the specified boundary.
  • Constructor Details

    • WakeupOnViewPlatformEntry

      public WakeupOnViewPlatformEntry(Bounds region)
      Constructs a new WakeupOnEntry criterion.
      Parameters:
      region - the region that will trigger a wakeup if a ViewPlatform intersects.
  • Method Details

    • getBounds

      public Bounds getBounds()
      Returns this object's bounds specification
      Returns:
      the bounds used in constructing this WakeupCriterion.
    • getTriggeringViewPlatform

      public ViewPlatform 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 entry.
      Since:
      Java 3D 1.3