createCurve method
dynamic
createCurve(
- dynamic relationships,
- dynamic geometryMap
Implementation
createCurve( relationships, geometryMap ) {
var geometry = relationships.children.reduce( ( geo, child ) {
if ( geometryMap.has( child["ID"] ) ) geo = geometryMap.get( child["ID"] );
return geo;
}, null );
// FBX does not list materials for Nurbs lines, so we'll just put our own in here.
var material = new LineBasicMaterial( { "color": 0x3300ff, "linewidth": 1 } );
return new Line( geometry, material );
}