Returns the number of components in a vertex attribute.
Show allUsageExamplesRelated
vertexattribsize(surface_node, attribute)
If the surface node or attribute are not found, returns 0.
vertexattribsize( "/obj/model/sphere", "uv" )
Returns the number of elements of a texture attribute.
vertex
pointattribsize
primattribsize
detailattribsize