Texture3D.SetPixels

function SetPixels (colors : Color[], miplevel : int = 0) : void

Description

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.