This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

SpriteDataAccessExtensions.SetVertexAttribute

public static void SetVertexAttribute(Sprite sprite, Rendering.VertexAttribute channel, NativeArray<T> src);

Parameters

srcThe 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.