文档

Unity Engine

Unity Engine

SetVertexAttribute<T>(Sprite, VertexAttribute, NativeArray<T>)

Sets a specific channel of the VertexAttribute.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static void SetVertexAttribute<T>(this Sprite sprite, VertexAttribute channel, NativeArray<T> src) where T : struct

Parameters

sprite



The list of values for this specific VertexAttribute channel. The array must be disposed of by the caller.

Remarks