Example of how to use the new UScriptedTexture in 4.1?

I haven’t been wanting to try out the newly added UScriptedTexture class in 4.1.

(UnrealEngine\Engine\Intermediate\ProjectFiles\ScriptedTexture.h)

But I can’t seem to figure out how to reference it or use it in my c++ project. Even in 4.1 is this only available if you build the UE4 engine source? The header file doesn’t seem to be in:

C:\Program Files\Unreal Engine\4.1\Engine\Source

Would love a quick example of how to use the UScriptedTexture class.

Thanks!

I don’t see the UScriptedTexture in the main branch as I believe Epic pulled my request in as CanvasRenderTarget2D instead.

You can try integrating my newer revision which also has Blueprint support.

https://github.com/EpicGames/UnrealEngine/pull/103

However I am making another version which doesn’t require an Actor.