Legacy Documentation: Version 2017.2 (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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答