How do I go about displaying multiple camera view on floating windows? I have a Unity scene in a floating html panel created by using html and jQuery. I would like to show one of the camera view in another floating panel. How do I pass bytes or other datatype to the browser to be displayed on another floating window?
The “float” data type has nothing to do with cameras or views or windows “floating” or composited over each other.
The data type refers to real numbers that are not integers, such as -4.5 or 6.02x1023.
As far as I know, you could not communicate between two running instances of the web plugin, except with a server intermediary; most browsers won’t let a plugin listen for connections so both copies would have to communicate with a server somewhere else.
No multiple instances. Maybe I did not reword my question clearly, but I was referring to a single Unity instance, and showing multiple camera views of that instance in separate floating html panel from separate camera views of one Unity instance.
It seems to me that you are trying use something which you will need to have some sort of networking setup to communicate between different instances of unity running. You would be better just controlling everything in unity in a single window where you have more flexibility unless you have very good reason to do otherwise.
I am unsure why you are doing this when you could just use
to control the size of the camera window
then just put a GUI button or an object which is an interface which you raycast to which when pressed you can drag around changing the Rect for the camera based on the mouse position.