Version: 2019.1
Experimental: this API is experimental and might be changed or removed in the future.

SpriteDataAccessExtensions.SetVertexAttribute

Switch to Manual
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.