October 2016
Intermediate to advanced
452 pages
9h 47m
English
So far, we've been assigning static values to the attributes of our UI widgets. However, what if we want to be more dynamic with widget content, or parameters such as border color? We can use a principle called data binding to dynamically link properties of our UI with variables in the broader program.
Unreal uses the Attribute system to allow us to bind the value of an attribute to the return value from a function, for example. This means that changing those variables will automatically cause the UI to change in response, according to our wishes.
GameMode subclass called AAtributeGameMode.private member to the class:private: TSharedPtr<SVerticalBox> Widget; ...
Read now
Unlock full access