Click or drag to resize
SoDataSensorGetTriggerField Method

If this is a priority 0 data sensor, returns the field that was modified that caused this sensor to trigger.

Namespace: OIV.Inventor.Sensors
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public SoField GetTriggerField()

Return Value

Type: SoField
Remarks

Returns NULL if the sensor was not triggered because a field changed (for example, if () is called on the sensor) or if this sensor is not a priority 0 sensor. Note that because one change to the scene graph may cause multiple nodes or fields to be modified (because of field-to-field connections), the field returned may not be the only one that changed.

See Also