createAreaLightMaterial top-level property

Function createAreaLightMaterial
getter/setter pair

Implementation

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