- Home /
Integration of Unity whithin GUI (ex QT)
Dear all,
My company is going to start the development of quite a big application running on PC/Windows. We need to integrate a 3D player for visualization and would like to deal with Unity.
My question is : Is there a Unity component allowing to play Unity scenes whitin a standard Graphical User Interface (such as QT, MFC, Windows Form, etc) ? An activeX, or a C++ class could be very efficient.
If it does, is there any documentation describing the API of this component. Indeed, we will need to exchange quite a lot of information between the GUI and the player ?
Thks for your answer,
Christophe Montandon - Diotasoft.
Answer by Noise crime · Jan 05, 2011 at 04:02 PM
Back in Unity 2.6 I was able to embed the activeX Unity web player into Adobe Director and pass data from Director to it, though can't remember off hand if it was possible to send data the other way.
There is no specific documentation to my knowledge for this, but being activeX the (minimal) exposed interface is easy to access.
From memory there was no direct connection to the Unity API,but the interface being web plugin focused did allow for a method of transferring data/instructions, I suspect in the same way that a web page can communicate with the Unity player. However it required code in Unity to then act on that data/instruction, bit like an event manager.
So its defiantly do-able, question is, would it be enough for what you need. My advice download the free indie version and give it a test. Though you may need to install the web player separately to get access to the activeX component, not sure if its included in application installer.
Answer by Christophe Montandon · Jan 06, 2011 at 09:36 AM
Thank you very much for your answer. I will explore the API of the activeX Unity web player, as you suggest.
Best Regards,
Cmo.
No problem, though small tip, your reply (since it is not an answer in itself) should not have been made as 'answer' but as a comment to $$anonymous$$e. Just as i'm adding this as a comment to this answer. It just keeps everything in order.
Your answer
Follow this Question
Related Questions
Make a coin add to a GUI BOX 1 Answer
GUI movement Control. Please Help!!! Thanks 1 Answer
Player to Gui Object Communication in C# 1 Answer
player prefs, saving the Rect of a gui position? 1 Answer
GUI not showing up on player destroy 1 Answer