Regular API function

simGetObjectSizeFactor / sim.getObjectSizeFactor

Description Retrieves the size factor of a scene object. The size factor is different from the real object size. Use this to be able to adapt to scaling operations. See also the other size and scaling functions.
C/C++
synopsis
simFloat simGetObjectSizeFactor(simInt objectHandle)
C/C++
parameters
objectHandle: handle of the scene object
C/C++
return value
size factor or negative value in case of an error
Lua
synopsis
float sizeFactor=sim.getObjectSizeFactor(int objectHandle)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Similar to the C-function counterpart
Python
synopsis
float sizeFactor=sim.getObjectSizeFactor(int objectHandle)