How do I get Reflection Capture output as a Cubemap in C++?

How do I get Reflection Capture output as a Cubemap in C++?

It’s not Scene->ReflectionSceneData.CubemapArray.GetRenderTarget() - that returns a texture that’s black on one side and white on the other.