LineBasicMaterial.fromMap constructor

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

Implementation

LineBasicMaterial.fromMap([Map<String, dynamic>? parameters]) : super() {
  type = 'LineBasicMaterial';

  color = Color(1, 1, 1);
  linewidth = 1;
  linecap = 'round'; // 'butt', 'round' and 'square'.
  linejoin = 'round'; // 'round', 'bevel' and 'miter'.

  fog = true;

  setValuesFromString(parameters);
}