Jump to content

[SOLVED] add world init/shutdown callback to plugins


photo

Recommended Posts

I want to use unigine in AR(agument reality) development, and I've successfully integrated webcam capture under windows/linux by create another ui widgets, but I want to create a more common video capture plugin for AR usage.

 

and you know, this need to interact with hardware device, and I can create a method to script to call init/shutdown of plugin when world script init/shutdown.

 

But I think it's better for a plugin to have a init/shutdown function like world script's init/shutdown. Current init/shutdown functions are designed to be called at engine init/shutdown, that's not enough for these kind of plugins.

Link to comment

Yes, I know this is a alternate solution, and this feature only needs a tiny modification of engine source, I've already added these functions in my build.

 

 

Thanks

Link to comment
×
×
  • Create New...