Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

SpriteDataAccessExtensions.SetVertexAttribute

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

Parameters

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

Description

Sets a specific channel of the VertexAttribute.

Did you find this page useful? Please give it a rating: