How to send native texture ptr from Unity web player to a browser plug-in?
- by user2928039
I have written an NPAPI browser plug-in (using Firebreath) that Unity uses
to access Kinect camera. I can retrieve skeleton data from Unity through JavaScript easily since it
isn't too big but the problem is in retrieving color image data.
Is it possible to send a native texture pointer (GetNativeTexturePtr)
from Unity through JavaScript into the C++ plug-in so that it can write the texture data directly? (tested in standalone version and it works)
Any other suggestions on how to transfer image data from browser plug-ins to Unity web player are very welcome.
Thanks.