Version: 2019.1
public Color[] GetPixels (int miplevel);

Parameters

miplevelThe mipmap level to be accessed.

Returns

Color[] The colors to get the array of pixels.

Description

Returns an array of pixel colors representing one mip level of the 3D texture.

Note that using Color32 data and GetPixels32 can be faster and consume less memory.

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