Can't derive class from UTextureRenderTargetCube?

Hey,

I want to create an asset class from UTextureRenderTargetCube to be able to change the max value constant. But as soon as I try to derive the UTextureRenderTargetCube class it can add the cnew class but can’t compile it and when I try to compile it manually it fails too…

Both fails due to LINK errors and I have spent hours and days trying to figure out what’s needed just to come to the conclusion it’s not possible…

How to reproduce…

  1. Create a C++ project
  2. Add new C++ class based upon TextureRenderTargetCube
  3. Compilation fails…

Please make this work…

Best regards
Jonas

Hey.

You won’t be able to derive from this class as it’s not exported out of its module.
The only option to do that, would be to modify engine code.

What exactly are you trying to achieve? Maybe there’s other way?

I want to be able to render out larger cubemaps than 2048…

Init and InitAutoFormat functions allows to override that. Maybe one of them would work for you?