How to call external script from X3D and get data back?

大兔子大兔子 提交于 2021-02-17 06:26:04

问题


I want to call external PHP script from X3D model. And get result to the variable in X3D. As I read, this maybe can be done on JS.

Script { 
            url [ "http://example.com/myScript.php",
                  "ecmascript: function foo() { ... }" ]
        }

Is it right? Are there any full code examples, will it work at all?

来源:https://stackoverflow.com/questions/63476349/how-to-call-external-script-from-x3d-and-get-data-back

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!