Version: 2020.1
public void CopyPixelDataToLayer (NativeArray<T> colorData, int layerIdx);

参数

colorData The array of pixel color values.
layerIdx Layer to which these values should be copied.

描述

Utility function to copy an array of pixels to a given layer.