Version: 2021.3
언어: 한국어
public void SetPixels32 (Color32[] colors, int miplevel);
public void SetPixels32 (Color32[] colors);

파라미터

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

설명

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.

SetPixels32 throws an exception when it fails.

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