I’m pretty new to Unreal API programming and my C++ is very rusty. I’m trying to get texture info from the texture editor via a plug-in. Looks like ITextureEditorToolkit::GetTexture() is the best route, but it’s giving me errors when I try to use it. Obviously I’m not using it right. Is there a good example on using this function call?
UTexture *texture = ITextureEditorToolkit::GetTexture(); //doesn't work
I also cannot create an object of class ITextureEditorToolkit because they are abstract classes.
To clarify, what I am trying to do is:
Get the active Texture Editor window
Get the Texture
Get the Texture’s values