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: 10.12.3.0 (10.12.3.0)
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