I am trying to make a Wireframe-object from a loaded object, using WireframeGeometry like this:
var objGeo=object._3DObject.children[0].geometry;
var edgeGeo=THREE.WireframeGeometry(objGeo);
var edgeLines = new THREE.LineSegments( edgeGeo, new THREE.LineBasicMaterial( { color: 0xd8aa77} ) );
The second line causes a “TypeError: this.addAttribute is not a function” in three.min.js
I made sure child #0 is a mesh, and it has a geometry attribute. I have tried it on different loaded objects and in every case I get this message. The objects are all FBX files.