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

SpriteDataAccessExtensions.HasVertexAttribute

Switch to Manual
public static bool HasVertexAttribute (Sprite sprite, Rendering.VertexAttribute channel);

Returns

bool True if the channel exists.

Description

Checks if a specific channel exists for this Sprite.