MeshMatcapMaterial constructor

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

Implementation

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

  type = 'MeshMatcapMaterial';

  color = Color.fromHex(0xffffff); // diffuse

  matcap = null;

  map = null;

  bumpMap = null;
  bumpScale = 1;

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

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

  alphaMap = null;

  flatShading = false;

  fog = true;

  setValues(parameters);
}