Material/Niagara using C++ TArray vector

I make ‘TArray’ data in C++ actor class.

I want to use the data for making a sphere like below.
(X, Y, Z are normalized vector position, and W is temperature(color))
화면 캡처 2022-05-26 015038

However, I can’t find a method to use the TArray for making material or niagara effect like the image.
Is there any solutions for this problem in material or niagara?

Hello, did you find a solution to this issue?
I’m looking into this same problem but for electric fields.
There is a tutorial on level80 on Niagara height maps have you seen it?