This version of Unity is unsupported.

Texture3D.SetPixels32

Switch to Manual

Declaration

public void SetPixels32(Color32[] colors, int miplevel);

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 Color32 array and changes the pixel colors of the 3D texture. Call Apply to actually upload the changed pixels to the GPU.

See Also: GetPixel, GetPixelBilinear, GetPixels32, SetPixel, SetPixels, SetPixels32, SetPixelData, Apply functions.