Titania X3D Editor

Bring Colours to Your Life.

Titania v4.0.1

Bring Colours to Your Life.

X3D Reference

GeoTouchSensor

GeoTouchSensor

GeoTouchSensor returns geographic coordinates for the object being selected. GeoTouchSensor can contain a GeoOrigin node.

The GeoTouchSensor node belongs to the Geospatial component and its container field is children. It is available since X3D version 3.0 or later.

Hierarchy

Fields

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)

Field geoOrigin.

SFString [in, out] description ""

Author-provided text tooltip that tells users the expected action of this node.

Hints

Use spaces, make descriptions clear and readable. Many XML tools substitute XML character references automatically if needed (such as & for & ampersand, or " for " quotation mark).

SFBool [in, out] enabled TRUE

Enables/disables node operation.

SFVec2f [out] hitTexCoord_changed

Output event containing texture coordinates of surface at the hitGeoCoordinate.

SFVec3f [out] hitNormal_changed

Output event containing surface normal vector at the hitGeoCoordinate.

SFVec3f [out] hitPoint_changed

Output event containing 3D point on surface of underlying geometry, given in geometry coordinates (not geographic coordinates).

SFVec3d [out] hitGeoCoord_changed

Output event containing 3D point on surface of underlying geometry, given in GeoTouchSensor's local coordinate system.

SFBool [out] isOver

Is pointing device over sensor's geometry?.

SFBool [out] isActive

Select geometry by activating the pointing device (e.g. clicking the mouse) to generate isActive events. Output event isActive=true is sent when geometry is selected (e.g. when primary mouse button is pressed), output event isActive=false is sent when geometry is deselected (e.g. when primary mouse button is released).

SFTime [out] touchTime

Time event generated when touched.

Hint

TouchTime event is generated when following three conditions are all met: (a) pointing device was pointing towards geometry when initially activated (isActive=true), (b) pointing device is currently pointing towards the geometry (isOver=true), and (c) pointing device selection is deactivated/deselected by user (isActive=false event is also generated).

Description

Hints

  • This sensor detects user interactions affecting peer nodes and their child geometry.
  • Include <component name='Geospatial' level='1'/>

Browser Compatibility

Titania X_ITE
yes yes

External Links