Model3dMaterial

A material from an .obj model's .mtl file (a newmtl block).

Properties

  • name (string)
  • texturePath (string) — Its texture (map_Kd), resolved against the .mtl file's folder or URL; "" if it has none
  • color (integer) — Its diffuse color (Kd) as packed RGBA - what a face with this material is filled with