Download

Construct a MaterialExpression (specificaly a UMaterialexpressionTextureSample) from UTexture?

I have a custom Material Instance Class. Part of it’s functionality allows users to store textures in a TArray<UTexture*>. I need to convert these UTextures to UMaterialExpressionTextureSamples so I can use them elsewhere in my project. Any Ideas?