function myClick() { var colorRed = new Glodon.Web.Graphics.Color(255, 0, 0, 1); var image=viewer3D.createSnapshotAsync(colorRed, function(data) { var img = new Image(); img.src = data; document.body.appendChild(img); }); } 效果
效果