Click or drag to resize
SoDataSensorGetTriggerNode Method

If this is a priority 0 data sensor, returns the node 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 SoNode GetTriggerNode()

Return Value

Type: SoNode
Remarks

Returns NULL if the sensor was not triggered because a node 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 node returned may not be the only one that changed.

See Also