Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

Texture3D.GetPixels

GetPixels(miplevel: int = 0): Color[];
Color[] GetPixels(int miplevel = 0);
def GetPixels(miplevel as int = 0) as Color[]

Description

This function returns an array of pixel colors representing one mip level of the 3D texture.

Call Apply to actually upload the changed.