Texture3D.SetPixels(Color[])
Parameters

colors The colors to set the pixels to.
Description

This function takes a color array and changes the pixel colors of the 3D texture.

Call Apply to actually upload the changed.
SetPixels(colors: Color[], miplevel: int = 0): void;
Parameters

colors The colors to set the pixels to.
miplevel The mipmap level to be affected by the new colors.
Description

Sets pixel colors of a 3D texture.

This function takes a color array and changes the pixel colors of the 3D texture. Call Apply to actually upload the changed.