This version of Unity is unsupported.

SpriteDataAccessExtensions.SetVertexAttribute

Declaration

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.