SetVertexAttribute<T>(Sprite, VertexAttribute, NativeArray<T>)
Sets a specific channel of the VertexAttribute.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.U2D
- Assembly: UnityEngine.CoreModule
public static void SetVertexAttribute<T>(this Sprite sprite, VertexAttribute channel, NativeArray<T> src) where T : struct
Parameters
The list of values for this specific VertexAttribute channel. The array must be disposed of by the caller.