MeshLambertMaterial constructor

MeshLambertMaterial([
  1. dynamic parameters
])

Implementation

MeshLambertMaterial([parameters]) : super() {
  type = "MeshLambertMaterial";

  color = Color(0, 0, 0).setHex(0xffffff); // diffuse

  map = null;

  lightMap = null;
  lightMapIntensity = 1.0;

  aoMap = null;
  aoMapIntensity = 1.0;

  emissive = Color(0, 0, 0);
  emissiveIntensity = 1.0;
  emissiveMap = null;

  specularMap = null;

  alphaMap = null;

  // this.envMap = null;
  combine = MultiplyOperation;
  reflectivity = 1;
  refractionRatio = 0.98;

  wireframe = false;
  wireframeLinewidth = 1;
  wireframeLinecap = 'round';
  wireframeLinejoin = 'round';

  fog = true;

  setValues(parameters);
}