Not able to Use Cesium.js functions in the worker thread

Hello Team,
I am trying to use the cesium.js intersection test in the worker thread but somehow I am not able to run and execute the code.
Latter on I realized worker is not even process/identify the Cesium.Cartesian3.

Is there any way we can use cesium js functions/API in the worker thread ?
Or is it not possible to do so ?

@Gabby_Getz
@omar

Thank you !!

Hi there,

It should be possible to run CesiumJS code in a worker. CesiumJS does this internally for things like asynchronously creating geometry.

Can you share your existing worker setup?

1 Like