我有一个开发代码问题使用“3dio-js”代码的开源。
怎么会
<a-entity class="io3d-scene" position="" rotation="" io3d-uuid="ddd8f1a11-7f5fs-4fds4-ad3d-ec58cc2cssa817" scale="" visible="">all elements are children </a-entity>
转换成:
{ "type": "plan", "children": [
{
"type": "level",
"children": [
{
"type": "interior"
}
// all elements are children of the level
]
}
] }
你有代码示例吗?
非常感谢。