GeoProximitySensor generates events when the viewer enters, exits and moves within a region of space (defined by a box).
The GeoProximitySensor node belongs to the Geospatial component and its container field is children. It is available since X3D version 3.2 or later.
SFNode [in, out] metadata NULL [X3DMetadataObject]
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
SFNode [ ] geoOrigin NULL [GeoOrigin] (deprecated)
MFString [ ] geoSystem [ "GD", "WE" ]
Identifies spatial reference frame: Geodetic (GD), Geocentric (GC), Universal Transverse Mercator (UTM). Supported values: "GD" "UTM" or "GC" followed by additional quoted string parameters as appropriate for the type.
Deprecated values are GDC (use GD) and GCC (use GC).
SFBool [in, out] enabled TRUE
Enables/disables node operation.
SFVec3f [in, out] size 0 0 0 [0,∞)
Size of Proximity box.
Size 0 0 0 is same as enabled false.
SFVec3f [in, out] center 0 0 0 (-∞,∞) (starting with vs. 3.3)
(starting with v3.3) Position offset from origin of local coordinate system.
SFBool [out] isActive
IsActive true/false events are sent as viewer enters/exits Proximity box. isActive=true when viewer enters Proximity box, isActive=false when viewer exits Proximity box.
SFTime [out] enterTime
Time event generated when user's camera enters the box.
SFTime [out] exitTime
Time event generated when user's camera exits the box.
SFVec3d [out] geoCoord_changed
Output field geoCoord_changed.
SFVec3f [out] position_changed
Sends translation event relative to center.
SFRotation [out] orientation_changed
Sends rotation event relative to center.
SFVec3f [out] centerOfRotation_changed
Sends changed centerOfRotation values, likely caused by user interaction.