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 react to scaling operations. See also sim.getObjectSizeValues.
C synopsis simFloat simGetObjectSizeFactor(simInt objectHandle)
C parameters
objectHandle: handle of the scene object
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