SetVertexAttribute<T>(Sprite, VertexAttribute, NativeArray<T>)
Sets a specific channel of the VertexAttribute.
Read time 1 minuteLast updated 11 days ago
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.