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 = LineBasicMaterial({"color": 0x3300ff, "linewidth": 1});
return Line(geometry, material);
}