Page 1 of 1

Data Binding in UE5

Posted: 16 Aug 2024, 22:59
by Evaluation
Hello,

I'm currently doing an evaluation of Noesis GUI but I have issue trying the Data Binding

I created a screen in MS Blend, with a custom control.
Following the Unreal tutorial, I created a view using the right click menu.
All that works fine and I can add and remove my screen from the viewport as I would do for a UMG UI page

Now I'm trying to make the Data Binding works with C++
I have a class which is my ViewModel, it has a bunch of variable which the game code changes that need to be reflected to the UI. My most basic case is an integer that I want to display in the UI. I have read the doc numerous time, but I think there is something missing. Any help is welcome!

Re: Data Binding in UE5

Posted: 19 Aug 2024, 12:40
by jsantos
Hey Paul, I assume you've already tried the DataBinding sample included in the plugin, right?

Re: Data Binding in UE5

Posted: 19 Aug 2024, 23:43
by Evaluation
Yes, I'm using the sample to learn!
I actually figured out my issue over the weekend. I had some naming inconsistences which created some troubles

Re: Data Binding in UE5

Posted: 21 Aug 2024, 12:46
by jsantos
Glad to know you solved the issue!

Was this related to WITH_CASE_PRESERVING_NAME? (viewtopic.php?t=3384)

Re: Data Binding in UE5

Posted: 24 Aug 2024, 01:23
by Evaluation
Yes, it is. Our project doesn't follow UE coding convention. What I did to make it work is follow the convention for these bounded variables.