Description
|
Retrieves the texture ID of a texture that is applied to a specific shape. See also sim.getTextureId and sim.setShapeTexture. |
C/C++ synopsis
|
simInt simGetShapeTextureId(simInt shapeHandle) |
C/C++ parameters |
shapeHandle: handle of the shape.
|
C/C++ return value
|
The texture ID, or -1 if the texture does not exist or in case of an error
|
Lua synopsis
|
int textureId=sim.getShapeTextureId(int shapeHandle) |
Lua parameters |
Similar to the C-function counterpart
|
Lua return values
|
Similar to the C-function counterpart
|
Python synopsis |
int textureId=sim.getShapeTextureId(int shapeHandle) |