/Engine/Source/Runtime/Engine/Classes/Engine/VolumeTexture.h
Updates a volume texture from a user function, which allows for arbitraryUVolumeTextureobjects to be filled. The pointer passed to the user function is owned byUVolumeTextureand should be cast to the required type before being filled up with the new voxel data.
bool UpdateSourceFromFunction ( [TFunction](API\Runtime\Core\GenericPlatform\TFunction)< void(int32, int32, int32, void *)> Func, int32 SizeX, int32 SizeY, int32 SizeZ, ETextureSourceFormat Format )