Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Closecolors | The colors to set the pixels to. |
This function takes a color array and changes the pixel colors of the 3D texture.
Call Apply to actually upload the changed.
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 color array and changes the pixel colors of the 3D texture. Call Apply to actually upload the changed.