How to create PaperSprite dynamically from Texture2D

pWorld in my case comes from GetWorld in my GameMode class.

I only use the function in C++ at this point.