Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

Sets a specific channel of the VertexAttribute.
Read time 1 minuteLast updated 11 days ago

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