기술 자료

Unity Engine

Unity Engine

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

Sets a specific channel of the VertexAttribute.
읽는 시간 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