I have an actor, AMPCCamera, which has details panel customization. Specifically it adds a button to the properties panel for the actor. When that button is clicked I want to do some stuff that manipulates the properties of the actor, however I can’t figure out how to get a reference to my actor from the customizations class.
In the Wiki there is talk of binding properties, but that only appears to be a valid thing when inside of CustomizeDetails(), using the IDetailLayoutBuilder that is passed in. Sicne I am instead in a Slate button click delegate, I don’t have access to that either.
My first thought is to scrap the whole second class, and simply implement IDetailCustomization inside the main AMPCCamera actor class, but while that would probably simplify things, it appears contrary to the UE design pattern which I would rather stick with if possible.