createAreaLightMaterial top-level property

Function createAreaLightMaterial
getter/setter pair

Implementation

Function createAreaLightMaterial = (num intensity) {
  var material = MeshBasicMaterial();
  material.color.setScalar(intensity.toDouble());
  return material;
};