two.js
two.js copied to clipboard
How can I parse a JSON compatible plain object as a group?
If I declare var data as
var data = two.scene.toObject()
I obtain a JSON Object. Now, how can I convert this JSON Object to a Two.Group?