Mesh.vertexAttributeCount

Switch to Manual
public int vertexAttributeCount ;

Description

Returns the number of vertex attributes that the mesh has. (Read Only)

This property returns the number of active vertex attributes (see VertexAttributeDescriptor). Together with GetVertexAttribute it can be used to query information about vertex attributes that are present in the mesh, without needing any managed allocations.

See Also: GetVertexAttribute, GetVertexAttributes, VertexAttributeDescriptor.