Class SoFieldSensor


public class SoFieldSensor extends SoDataSensor
Sensor class that can be attached to Open Inventor fields. Field sensors detect changes to fields, calling a callback function whenever the field changes. The field may be part of a node, an input of an engine, or a global field.

See SoDataSensor for general information and code example.

See Also:
  • Constructor Details

    • SoFieldSensor

      public SoFieldSensor(Runnable task)
      Builds a new field sensor with the task to be executed when the sensor is triggered.
    • SoFieldSensor

      public SoFieldSensor()
      Constructor.
  • Method Details