string attribtypeinfo(<geometry>geometry, string attribclass, string attribute_name)
This general form lets you specify the attribute “class” at run-time. This can be useful for writing general code that can work on different classes. If you know the attribute class ahead of time, using detailattribtypeinfo, primattribtypeinfo, pointattribtypeinfo, or vertexattribtypeinfo may be faster.
<geometry>
When running in the context of a node (such as a wrangle SOP), this argument can be an integer representing the input number (starting at 0) to read the geometry from.
Alternatively, the argument can be a string specifying a geometry file (for example, a .bgeo
) to read from. When running inside Houdini, this can be an op:/path/to/sop
reference.
attribclass
One of "detail"
(or "global"
), "point"
, "prim"
, or "vertex"
.
You can also use "primgroup"
, "pointgroup"
or "vertexgroup"
to read from groups.
attribute_name
The name of the attribute (or intrinsic) to read.
Returns
A string indicating the metadata for a given geometry attribute, or the empty string (""
) if the attribute does not exist.
|
Don’t transform. |
|
Apply scales, rotations, and transformations. |
|
Apply scales, rotations, and transformations to this vector4. |
|
Apply scales and rotations, but not transformations. |
|
Apply rotations, apply scales with inverse-transpose. |
|
Don’t transform. |
|
Apply scales, rotations, and transformations to this matrix. |
|
Apply rotations. |
|
Don’t transform. |
|
Do not blend this value when points are averaged. |
|
Integer values that blend when points are averaged. |
|
Don’t transform, and try to preserve seams when interpolating. Attributes with this type will show up in the UV viewport menu. |
attrib |
|