detail expression function
Returns the value of a detail attribute.
Usage
detail(surface_node, attrib_name, attrib_index)
Tip | This expression may not work if surface_node is the currently cooking node. Try specifying an upstream node. |
Examples
detail("/obj/geo1/attribpromote1", "area", 0)Returns the total area of the geometry, if the geometry had first been measured and then AttribPromote had promoted the area primitive attribute to a detail attribute with Add as the promotion method.
