Home Reference Expression functions 

vertexattribsize expression function

Returns the number of components in a vertex attribute.

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.