Houdini 20.5 Nodes APEX nodes

rig::PrimConstraint

Computes a transform for a coordinate within a geometry primitive.

On this page
Since 20.5

Inputs

geo: Geometry

The geometry that contains the primitive to constrain to.

primidx: Int

The index of the primitive to constrain to.

primuv: Vector2

The coordinates within the primitive to constrain to. This can be computed using SOP operators like Ray or Scatter.

x_axis_name: String

The name of a vector attribute that specifies the direction of the x-axis in the generated transform.

y_axis_name: String

The name of a vector attribute that specifies the direction of the y-axis in the generated transform.

Outputs

xform: Matrix4

The computed transform. This transform’s pivot sticks to the primuv coordinates within the primidx primitive, and its x- and y-axes are aligned to the vector values of x_axis_name and y_axis_name.

APEX nodes