Table of Contents Chapter Index Previous Slide Next Slide 245
TouchSensor Events

Sensing the User's Actions

TouchSensor Events
  • Pointer is on geometry: SFBool isOver

  • Button press/release:
  • SFBool isActive
  • SFTime touchTime (on ButtonUp)
  • Pointer dragged over geometry:
  • SFVec3f hitPoint_changed
  • SFVec3f hitNormal_changed
  • SFVec2f hitTexCoord_changed