Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Texture3D.GetPixels

Switch to Manual
public Color[] GetPixels(int miplevel = 0);

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: SetPixels, GetPixels32.