Class WakeupOr


public final class WakeupOr extends WakeupCondition
Class specifying any number of wakeup conditions ORed together. This WakeupCondition object specifies that Java 3D should awaken this Behavior when any of the WakeupCondition's constituent wakeup criteria becomes valid.

Note that a unique WakeupCriterion object must be used for each individual element in the array of wakeup criteria.

  • Constructor Details

    • WakeupOr

      public WakeupOr(WakeupCriterion[] conditions)
      Constructs a new WakeupOr criterion.
      Parameters:
      conditions - a vector of individual Wakeup conditions