UE4 Multiple NoesisViews
Posted: 11 Jan 2018, 19:36
Hello,
I want to show two NoesisViews simultaneously on my display for a menu system. One view will have a button list on the left side. Clicking each button will display a new Noesis View on the right side. I realize I could combine all of this into a single Xaml file, but for specific reasons (very complex menus) I want the menus details on the right panel to have their own separate DataContexts.
Currently when I open a submenu in the right panel, I am no longer able to click any other buttons on the left panel. I've set the second NoesisView to Self HitTest Invisible, and there are no controls covering the buttons on the left. I've also experimented with Transparencey and NoHitTest in XAML but still no luck.
Any thoughts on how I could make this scenario work?
Is there a way to get click-thru behavior working on a NoesisView and still have functioning controls?
Alternately is it possible to set a different DataContext to 'sections' of a single Xaml file? (this would be ideal)
One method I have not tried yet is to build a standard UMG widget as my fullscreen menu container. I would then add NamedSlot controls for the left panel and right panels. Then I could dynamically switch out the correct NoesisViews into the NamedSlot panel on the right. Not sure if this is ideal or not but I'm just brainstorming. I'd rather not have to do this honestly. My primary interest in this product is that it lets me ditch UMG entirely.
Thanks
Jake
I want to show two NoesisViews simultaneously on my display for a menu system. One view will have a button list on the left side. Clicking each button will display a new Noesis View on the right side. I realize I could combine all of this into a single Xaml file, but for specific reasons (very complex menus) I want the menus details on the right panel to have their own separate DataContexts.
Currently when I open a submenu in the right panel, I am no longer able to click any other buttons on the left panel. I've set the second NoesisView to Self HitTest Invisible, and there are no controls covering the buttons on the left. I've also experimented with Transparencey and NoHitTest in XAML but still no luck.
Any thoughts on how I could make this scenario work?
Is there a way to get click-thru behavior working on a NoesisView and still have functioning controls?
Alternately is it possible to set a different DataContext to 'sections' of a single Xaml file? (this would be ideal)
One method I have not tried yet is to build a standard UMG widget as my fullscreen menu container. I would then add NamedSlot controls for the left panel and right panels. Then I could dynamically switch out the correct NoesisViews into the NamedSlot panel on the right. Not sure if this is ideal or not but I'm just brainstorming. I'd rather not have to do this honestly. My primary interest in this product is that it lets me ditch UMG entirely.
Thanks
Jake