公告
财富商城
积分规则
提问
发文
2019-07-28 17:03发布
地球回转人心会变
Is there a way to obtain the svg text (an image) from THREE.SVGRenderer?
THREE.SVGRenderer
Currently using r58.
You should be able to access the SVG DOM with renderer.domElement
renderer.domElement
To convert that to XML string (if that is what you mean by "svg text"):
var XMLS = new XMLSerializer(); var svgfile = XMLS.serializeToString(renderer.domElement);
You could try printing the page to PDF.
最多设置5个标签!
You should be able to access the SVG DOM with
renderer.domElement
To convert that to XML string (if that is what you mean by "svg text"):
You could try printing the page to PDF.