SpriteDataAccessExtensions.SetVertexAttribute

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答