I know that this was years ago, but I found myself wanting an answer. This seemed a bit complex for a simple action, so I managed to find a very easy way for those who stumble upon this. In the following image, I am getting the material of my gun, finding the PatternMap texture, casting to that texture as Texture2d, then setting a variable in a Widget that is of type Texture2d. The Widget then displays the texture. This seemed to do the trick!