Click or drag to resize
SoSensorSetSensorCB Method (SoSensorSensorCB)

Note: This API is now obsolete.

Use Action property instead Sets the delegate that is invoked when the sensor is triggered. The function must take two arguments - user-supplied data (of type object) and a reference to the sensor that is triggering the function (of type SoSensor).

Namespace: OIV.Inventor.Sensors
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("Use Action property instead")]
public void SetSensorCB(
	SoSensorSensorCB cb
)

Parameters

cb
Type: OIV.Inventor.SensorsSoSensorSensorCB
See Also