ashwin.sudhir Posted June 8, 2011 Posted June 8, 2011 Hi, Once we've initialized the Unigine Engine via m_pUnigine = Engine::init(UNIGINE_VERSION, argcLocal, argvLocal); We'd like to get the functionality in engine.app in Unigine script in the C++ API I was looking for a funtion like Engine::getApp() but could not find that or a similar one. This is for convenience; of course we can implement callbacks for all the engine.app functions, but it would be better if we could get a pointer to the internal Unigine::App C++ class. What would be the best way of doing this? Thanks, Ashwin.
manguste Posted June 9, 2011 Posted June 9, 2011 Actually, it is not very clear what app callbacks you need. Nevertheless, will be implemented.
ashwin.sudhir Posted June 10, 2011 Author Posted June 10, 2011 Actually, it is not very clear what app callbacks you need. Nevertheless, will be implemented. Supposing I want to do App::getKeyState() , how can I do it if I do not have a pointer to the internal Unigine::App class? In my case the App is managed by Unigine. That's why I requested something like Engine::getApp() (if it makes sense) Thanks.
Recommended Posts