Class WakeupAndOfOrs

java.lang.Object
javax.media.j3d.WakeupCondition
javax.media.j3d.WakeupAndOfOrs

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

Note that a unique WakeupCriterion object must be used for each individual element in the set of arrays specified by the array of WakeupOr objects.

  • Constructor Details

    • WakeupAndOfOrs

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