I have an array on objects, meshes created with Three.js, that I want to do some operations in a web worker. So the questions is how do I post them to the worker?
From what I understand there's something called transferable objects that uses something called ArrayBuffer
but I can't find any info about how to convert my array of objects to that. Or is this perhaps not possible?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…