Regular API function

simResetVisionSensor / sim.resetVisionSensor

Description Clears the detection state, etc. of a proximity sensor object. See also sim.handleVisionSensor.
C/C++
synopsis
simInt simResetVisionSensor(simInt sensorHandle)
C/C++
parameters
sensorHandle: handle of the vision sensor object or sim.handle_all or sim.handle_all_except_explicit. (sim.handle_all will reset all vision sensor objects, while sim.handle_all_except_explicit will only reset those that are not marked as "explicit handling")
C/C++
return value
-1 if operation was not successful
Lua
synopsis
sim.resetVisionSensor(int sensorHandle)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Python
synopsis
sim.resetVisionSensor(int sensorHandle)