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

SpriteDataAccessExtensions.HasVertexAttribute

切换到手册
public static bool HasVertexAttribute (Sprite sprite, Rendering.VertexAttribute channel);

返回

bool 如果存在特定通道,则返回 True。

描述

检查此精灵中是否存在特定通道。