MeshDistanceMaterial constructor

MeshDistanceMaterial(
  1. Map<String, dynamic>? parameters
)

Implementation

MeshDistanceMaterial(Map<String, dynamic>? parameters) : super() {
  type = 'MeshDistanceMaterial';

  referencePosition = Vector3();
  nearDistance = 1;
  farDistance = 1000;

  map = null;

  alphaMap = null;

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

  setValues(parameters);
}