simGetShapeTextureId

Retrieves the texture ID of a texture that is applied to a specific shape

C++ synopsis

int simGetShapeTextureId(int shapeHandle)

Arguments

  • shapeHandle: handle of the shape.

Return

  • The texture ID, or -1 if the texture does not exist or in case of an error


See also: