Let’s say I have a Camera with a CameraInputSourceComponent connected to its Base Components. When doing that, I’m able to retrieve “upstream” the IInputSource of the Window my camera is connected to. Cool.
Now, what if I want to override this IInputSource from downstream? Usecase is : this camera is connected to a SceneTexture, which, I guess, does not have the notion of an IInputSource. This Textureis then composited/blahblah, and displayed on a RenderWindow.
I would like to take the IInputSource of that RenderWindow and “pass it” to my Camera.
A-ha, yes, going top to bottom rather than the other way around could be an option. I’d have to check if can replace the final RenderWindow with a SceneWindow though.
Thanks for the suggestion!
Meanwhile, if someone has a clue on doing with the CameraInputSourceComponent I’m all ears :)
Thanks @tonfilm, the actual setup is a bit more complex but I ended up passing the input source via a pad as you suggested. Not ideal as I would have wanted to go with the components, but that’ll do for now.
Thanks @bjoern, looks like what I tried and did not get any result. Glad to see it’s working in your isolated tests setup, will double-check what could have been wrong in my case.