Houdini 20.5 Nodes APEX nodes

skel::Traverse

Traverses the whole KineFX hierarchy and writes out the result.

On this page
Since 20.0

Outputs a flat representation of the provided KineFX hierarchy. The hierarchy is traversed starting with each point in roots. Each traversed point is added to the pts output array, and every parent of the traversed points is added to the parents output array.

Inputs

geo: Geometry

The geometry to traverse.

roots: IntArray

An array of point numbers that begin a new traversal.

Outputs

pts: IntArray

An array of point numbers with all the traversed points.

parents: IntArray

An array of point numbers with all the parents of the traversed points.

traverseresult: Int

The result of the traversal:

  • 0 = Success

  • 1 = NoRoots

  • 2 = BadRoot

  • 3 = FoundCycle

  • 4 = IncompleteTraversal

See also

APEX nodes