Hi,
I have :
SNew(SImage)
.Image(myFSlateBrush)
.OnMouseButtonDown_Lambda([this,args](const FGeometry&, const FPointerEvent&)
{
...
//here I would like to change the .Image
})
How to change the image of the SImage in the lambda function “.OnMouseButtonDown_Lambda”?
More generally, how to call the created object in events functions to do changes on it?
For example :
SNew(SButton)
.Onclicked_Lambda(...)
{
...
//here I would like to call "this" button to do things like :
thisButton->Cursor=...;
thisButton->ButtonColorAndOpacity=...
})
Thanks.