SpriteDataAccessExtensions.SetVertexAttribute
public static void SetVertexAttribute(Sprite sprite,
Rendering.VertexAttribute channel,
NativeArray<T> src);
Parameters
| src | The list of values for this specific VertexAttribute channel. The array must be disposed of by the caller. |
Description 描述
Sets a specific channel of the VertexAttribute.
See GetVertexAttribute.