Regular API
function
simGetShapeTextureId
Description
Retrieves the texture ID of a texture that is applied to a specific shape. See also
simGetTextureId
and
simSetShapeTexture
.
C synopsis
simInt simGetShapeTextureId(simInt shapeHandle)
C parameters
shapeHandle
: handle of the shape.
C return value
The texture ID, or -1 if the texture does not exist or in case of an error
Lua synopsis
number textureId=simGetShapeTextureId(number shapeHandle)
Lua parameters
Same as C-function
Lua return values
Same as C-function
All regular API functions on one page