MeshBasicMaterial constructor

MeshBasicMaterial([
  1. Map<String, dynamic>? parameters
])

Implementation

MeshBasicMaterial([Map<String, dynamic>? parameters]) : super() {
  type = 'MeshBasicMaterial';
  color = Color(1, 1, 1); // emissive

  map = null;

  lightMap = null;
  lightMapIntensity = 1.0;

  aoMap = null;
  aoMapIntensity = 1.0;

  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);
}