Home Reference Expression functions 

primattribsize expression function

Returns the number of components in a primitive attribute.

Usage

primattribsize(surface_node, attribute)

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

Examples

primattribsize( "/obj/model/box", "Cd" )

Returns the number of elements of a diffuse color attribute.