| |
|
| java.lang.Object javax.media.j3d.WakeupCondition javax.media.j3d.WakeupCriterion javax.media.j3d.WakeupOnSensorExit
WakeupOnSensorExit | final public class WakeupOnSensorExit extends WakeupCriterion (Code) | | Class specifying a wakeup on first detection of sensors no
longer intersecting the specified boundary.
|
COND_IN_BS_LIST | final static int COND_IN_BS_LIST(Code) | | |
SENSOREXIT_IN_BS_LIST | final static int SENSOREXIT_IN_BS_LIST(Code) | | |
TOTAL_INDEXED_UNORDER_SET_TYPES | final static int TOTAL_INDEXED_UNORDER_SET_TYPES(Code) | | |
WakeupOnSensorExit | public WakeupOnSensorExit(Bounds region)(Code) | | Constructs a new WakeupOnExit criterion.
Parameters: region - the region that will trigger a wakeup if a Sensorintersects. |
addBehaviorCondition | void addBehaviorCondition(BehaviorStructure bs)(Code) | | This is a callback from BehaviorStructure. It is
used to add wakeupCondition to behavior structure.
|
getBounds | public Bounds getBounds()(Code) | | Returns this object's bounds specification
the bounds used in constructing this WakeupCriterion. |
getTriggeringSensor | public Sensor getTriggeringSensor()(Code) | | Retrieves the Sensor object that caused the wakeup.
the triggering Sensor object exception: IllegalStateException - if not called from within a behavior's processStimulus method which was awoken by a sensorexit. since: Java 3D 1.2 |
removeBehaviorCondition | void removeBehaviorCondition(BehaviorStructure bs)(Code) | | This is a callback from BehaviorStructure. It is
used to remove wakeupCondition from behavior structure.
|
resetBehaviorCondition | void resetBehaviorCondition(BehaviorStructure bs)(Code) | | Perform task in addBehaviorCondition() that has to be
set every time the condition met.
|
setTarget | void setTarget(Sensor sensor)(Code) | | Set the sensor that trigger this behavior
|
updateTransformRegion | void updateTransformRegion()(Code) | | Update the cached Transfrom Region, call from BehaviorStructure
|
Fields inherited from javax.media.j3d.WakeupCriterion | boolean triggered(Code)(Java Doc)
|
|
|
|