vertexattribsize expression function

Returns the number of components in a vertex attribute.

All Usage Examples

See also: vertex, pointattribsize, primattribsize, detailattribsize

Usage

vertexattribsize(surface_node, attribute)

If the surface node or attribute are not found, returns 0.

Examples

vertexattribsize( "/obj/model/sphere", "uv" )

Returns the number of elements of a texture attribute.