Hi all, I am trying to edit material connections from c++, in-editor, from a plugin.
How should I connect Textures to the Material slots?
I have, for example:
UTexture *Tex = LoadObject<UTexture>(NULL, *Itr2->GetName()); FScalarMaterialInput matAlpha; Material->Opacity = (matAlpha);
How can I link the ‘Tex’ to the ‘matAlpha’ and therefore to the Opacity slot of ‘Material’?