Regular API function

simGetVisionSensorResolution / sim.getVisionSensorResolution

Description Deprecated. Use sim.getVisionSensorImg instead
C/C++
synopsis
simInt simGetVisionSensorResolution(simInt sensorHandle,simInt* resolution)
C/C++
parameters
sensorHandle: handle of the vision sensor
resolution: 2 values for the x and y component
C/C++
return value
-1 if operation was not successful
Lua
synopsis
int[2] resolution=sim.getVisionSensorResolution(int sensorHandle)
Lua
parameters
sensorHandle: handle of the vision sensor
Lua
return values
resolution: table containing the x and y resolution
Python
synopsis
list resolution=sim.getVisionSensorResolution(int sensorHandle)