Scenario: I have a C++ class inheriting from UWidgetComponent. In my level I add this as a component to objects, and set my widget class to create 3D UI around the level. The component holds several variables to help populate the widget.
Problem: The default material for the widget is the engine default Widget3DPassThrough_masked
I’ve created my own material that I want to use instead. How do I set this material to be the default for my C++ component?