Interface ProximitySensor

All Superinterfaces:
X3DChildNode, X3DEnvironmentalSensorNode, X3DNode, X3DSensorNode
All Known Implementing Classes:
ProximitySensor

public interface ProximitySensor extends X3DEnvironmentalSensorNode
ProximitySensor generates events when the viewer enters, exits and moves within a region of space (defined by a box).

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes. ProximitySensor node tooltip: [X3DEnvironmentalSensorNode] ProximitySensor generates events when the viewer enters, exits and moves within a region of space (defined by a box).
  • Hint: multiple USEd instances are cumulative, but avoid overlaps.
  • Hint: can first use Transform to relocate/reorient box.
  • Hint: surround entire world to start behaviors once scene is loaded.

Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also: