问题
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