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:
    SoNodeSensor, SoPathSensor, SoDataSensor
    • Constructor Detail

      • SoFieldSensor

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

        public SoFieldSensor()
        Constructor.