AutoMovie API
    Preparing search index...

    Function indexSkeletonTopology

    • Index a skeleton's parent-child topology once, for forward-kinematics work repeated over many poses of the same skeleton.

      childrenByParent lists each bone under its parent, in declaration order, with null-parent roots under SKELETON_ROOT_PARENT. reachableBones holds every bone whose parent chain ends at such a root: a bone whose parent is undeclared, or whose chain is a cycle, is never entered from a root and is absent. The index is a snapshot; it holds the skeleton's bone objects, so a caller that later changes skeleton.bones must build a new one. Duplicate bone names throw before traversal because one identity cannot own two parent links or two rest transforms.

      Parameters

      Returns IAutoMovieSkeletonTopology