function setMap (texture) {
        this.material.map = texture;
        this.material.needsUpdate = true;
        this.regenerateMesh();
      }
Called once when component is attached. Generally for initial setup.