You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 20, 2020. It is now read-only.
class MeshLineExample extends React.Component {
render() {
let meshLine = new MeshLine();
var geometry = new THREE.Geometry();
geometry.vertices = this.props.vertices;
meshLine.setGeometry(geometry);
var material = new MeshLineMaterial({});
return (
<mesh position={new THREE.Vector3(0, 0, 0)} rotation={new THREE.Euler()}
geometry={geometry} material={material}/>
);
}
}
However, when I do this, nothing displays.
Also, I get these warnings in the console:
"Warning: Foreign prop geometry found in mesh. Check the render method of MeshLineExample."
"Warning: updating prop geometry ( [object Object] ) for MeshDescriptor"