Experimental: this API is experimental and might be changed or removed in the future.

SpriteDataAccessExtensions.SetVertexAttribute

Cambiar al Manual
public static void SetVertexAttribute (Sprite sprite, Rendering.VertexAttribute channel, NativeArray<T> src);

Parámetros

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

Descripción

Sets a specific channel of the VertexAttribute.