Click or drag to resize
SoDataSensorGetTriggerPath Method

If this is a priority 0 data sensor, returns a path to the node 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 SoPath GetTriggerPath()

Return Value

Type: SoPath
Remarks

Because recreating the path to the node that changed is relatively expensive, setTriggerPathFlag(true) must be called before the sensor is scheduled. If it is not called, or if the sensor wasn't triggered because a node changed, this returns NULL. NULL is also returned if this is not a priority 0 sensor.

See Also