Revision of LookSensor from Wed, 11/02/2016 - 19:19
}
An enabled LookSensor node puts a watch at the center of the display. If any Shape node crosses that region AND has the class attribute contains the string specified by objectClass, then the sensor starts a countdown. The countdown is indicated by different colors closing in on the center. When the countdownTime is reached, the sensor fires indicating that the shape at the display center has been selected (equivalent to a user clicking on a shape with an enabled TouchSensor). A click DOM event is sent to the selected Shape node for additional handling. This sensor locates all nodes that are in the DOM tree. Shape nodes not in the DOM tree will not be identified.
This node is different than the other X3DTouchSensorNodes in that
- Only one LookSensor node may be active at any time.
- The active LookSensor node is not tied to a region in space or an object.