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.SensorsAssembly: 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
)
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ObsoleteAttribute("Use Action property instead")>
Public Sub SetSensorCB (
cb As SoSensorSensorCB
)
public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ObsoleteAttribute(L"Use Action property instead")]
void SetSensorCB(
SoSensorSensorCB^ cb
)
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<ObsoleteAttribute("Use Action property instead")>]
member SetSensorCB :
cb : SoSensorSensorCB -> unit
Parameters
- cb
- Type: OIV.Inventor.SensorsSoSensorSensorCB
See Also