MeshToonMaterial constructor

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

Implementation

MeshToonMaterial([Map<String, dynamic>? parameters]) : super() {
  defines = {'TOON': ''};

  type = 'MeshToonMaterial';

  color = Color.fromHex(0xffffff);

  map = null;
  gradientMap = null;

  lightMap = null;
  lightMapIntensity = 1.0;

  aoMap = null;
  aoMapIntensity = 1.0;

  emissive = Color.fromHex(0x000000);
  emissiveIntensity = 1.0;
  emissiveMap = null;

  bumpMap = null;
  bumpScale = 1;

  normalMap = null;
  normalMapType = TangentSpaceNormalMap;
  normalScale = Vector2(1, 1);

  displacementMap = null;
  displacementScale = 1;
  displacementBias = 0;

  alphaMap = null;

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

  fog = true;

  setValues(parameters);
}