[x3d-public] Transform children in ECMAScript SAI. Array or MFNode?
Andreas Plesch
andreasplesch at gmail.com
Sun Apr 12 04:20:03 PDT 2020
> Date: Sat, 11 Apr 2020 23:59:44 -0500
> From: John Carlson <yottzumm at gmail.com>
> To: X3D Graphics public mailing list <x3d-public at web3d.org>
> Subject says it all. I will have to figure out a way to collect SFNodes if
> they're in an MFNode. I can use indexed access if they're in an array. I
> suspect an MFNode is faster.
>
> Is there a ECMAScript SAI ratified ISO standard? I see CD, not IS on
> web3d.org.
Yes, it seems only the abstract SAI has IS status. But the ECMAScript
SAI is closely coupled to the abstract SAI.
> Thanks every one, especially Andreas.
>
> Or perhaps I can assign array elements after I assign children to a new
> MFNode?
>
> Does MF* derive from Array in ECMAScript? That would be the best of both
> worlds.
Yes. MF field values are ECMAScript Arrays.
>
> Thanks,
>
> John
--
Andreas Plesch
Waltham, MA 02453
More information about the x3d-public
mailing list