Iterates all the attributes of the given Primitive.
| this |
A Primitive object |
| callback |
A PrimitiveAttributeCallback to be called for each attribute |
| user_data |
Private data that will be passed to the callback |