Texture¶
-
class
urdfpy.Texture(filename, image=None)[source]¶ Bases:
urdfpy.URDFTypeAn image-based texture.
Parameters: - filename (str) – The path to the image that contains this texture. This can be relative to the top-level URDF or an absolute path.
- image (
PIL.Image.Image, optional) – The image for the texture. If not specified, it is loaded automatically from the filename.
Attributes Summary
filenamePath to the image for this texture. imageThe image for this texture. Attributes Documentation
-
image¶ The image for this texture.
Type: PIL.Image.Image