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

SpriteDataAccessExtensions.SetVertexAttribute

切换到手册
public static void SetVertexAttribute (Sprite sprite, Experimental.Rendering.VertexAttribute channel, NativeArray<T> src);

参数

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

描述

设置 VertexAttribute 的特定通道。

请参阅 GetVertexAttribute