Texture3D.GetPixels
GetPixels(miplevel: int = 0): Color[];
Description

This function returns an array of pixel colors representing one mip level of the 3D texture.

Call Apply to actually upload the changed.