MeshDepthMaterial constructor

MeshDepthMaterial([
  1. Map<MaterialProperty, dynamic>? parameters
])

parameters - (optional) an object with one or more properties defining the material's appearance. Any property of the material (including any property inherited from Material) can be passed in here.

Implementation

MeshDepthMaterial([Map<MaterialProperty, dynamic>?parameters]) : super() {
  _init();
  setValues(parameters);
}