Change properties of a material. All property arguments are optional and are used to set the new value of each property.

  • name (str) – Material name to change
  • ambient (float) – Ambient light of material
  • diffuse (float) – Diffuse light scattering of material
  • specular (float) – Amount of specular highlights from material
  • shininess (float) – Shininess of material
  • mirror (float) – Reflectivity of material
  • opacity (float) – Opacity of material
  • outline (float) – Amount of outline on material
  • outline_width (float) – Width of outline on material
  • transmode (bool) – If angle-modulated transparency should be used