3dslicer and unity communication to use registration algorithms

Hello, I am working with the registration algorithms that 3dslicer offers me, but I have to make it receive data from unity 3d and thus be able to calculate the transformation matrices, I don’t know if it can be done that way. Or what can you advise me?

There have been several Unity applications (mostly intended for HoloLens) that exchange images, models, and transforms with Slicer in real-time. Most recent is by @AliciaPose et al. See for example this complete Unity app:

thank you very much for your answer, I will check the link to understand how to do it.