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

src此特定 VertexAttribute 通道的值列表。数组必须由调用程序处置。

Description

设置 VertexAttribute 的特定通道。

请参阅 GetVertexAttribute