Object library in Blueprints or from c++

I will double check this when I get home but my problem was connecting the output to a 2d texture node, it wouldnt allow it even when the class is set to 2d texture.

Do I have to try and get this variable at run time somehow?