void addattribute(string aname, int value)void addattribute(string aname, float value)void addattribute(string aname, vector value)void addattribute(string aname, vector4 value)void addattribute(string aname, matrix value)void addattribute(string aname, matrix3 value)void addattribute(string aname, string value)
Adds or changes a point attribute.
In Houdini, there are some additional type qualifiers on attributes.
You can specify an additional argument "type" which can be followed by one of the following strings:
"vector" | Instead of an array of 3 floats, this attribute should have special consideration when the geometry is transformed. Examples of vector attributes are N and v. This qualifier is only valid when the attribute being added is a vector. |
"indexpair" | The attribute should be considered as a set of index pairs. Currently, only the capture attributes are this type of attribute. This qualifier is only valid when the attribute being added is a vector4 or matrix since an even number of floats should be specified. |
