Material

class urdfpy.Material(name, color=None, texture=None)[source]

Bases: urdfpy.URDFType

A material for some geometry.

Parameters:
  • name (str) – The name of the material.
  • color ((4,) float, optional) – The RGBA color of the material in the range [0,1].
  • texture (Texture, optional) – A texture for the material.

Attributes Summary

color The RGBA color of the material, in the range [0,1].
name The name of the material.
texture The texture for the material.

Attributes Documentation

color

The RGBA color of the material, in the range [0,1].

Type:(4,) float
name

The name of the material.

Type:str
texture

The texture for the material.

Type:Texture