LookSensor

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in book_prev() (line 775 of /home/drbiz/public/tools.realism.com/modules/book/book.module).

Primary tabs

LookSensor : X3DTouchSensorNode {
SFString
[in,out]
description
""
SFBool
[in,out]
enabled
TRUE
SFNode
[in,out]
metadata
NULL
SFBool
[out]
isCountdown
FALSE
SFTime
[out]
lookTime
SFTime
[]
countdownTime
2
SFString
[in,out]
objectClass
""



}

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

  1. Only one LookSensor node may be active at any time.
  2. The active LookSensor node is not tied to a region in space or an object.