You can either "copy" the data into new objects or you can expose your existing objects in form of ecmascript api. It mainly depends if you intend to modify those objects from the script. If not, copying should be easier - just create a bunch of objects (using newObject()) and assign properties to them.
It depends on how you solve issue #1 and also what the function signature is.3) With a call to JavaScript F(Tree.f) can I change Tree.f or is this read only?
You can either resynchronize the two object groups manually or you just wrap your real objects into script api as said in the beginning.4) After Tree.f.s.a = 4, how can I copy data from JavaScript to C++-Tree without having to copy all data?
No.Is there some signal when a JavaScript variables changes or somethin similar?
Bookmarks