Closed lidaof closed 5 years ago
Hi there,
wondering where is MeshLineMaterial from? seems not in three, I tried in MeshLine, but got error:
MeshLineMaterial
TypeError: three_meshline__WEBPACK_IMPORTED_MODULE_4__.MeshLine.MeshLineMaterial is not a constructor
Hey, it should be imported from the library. Try that: import { MeshLine, MeshLineMaterial } from 'three.meshline';
import { MeshLine, MeshLineMaterial } from 'three.meshline';
Thank you!!
Hi there,
wondering where is
MeshLineMaterial
from? seems not in three, I tried in MeshLine, but got error:TypeError: three_meshline__WEBPACK_IMPORTED_MODULE_4__.MeshLine.MeshLineMaterial is not a constructor