AutoMovie API
    Preparing search index...

    Function autoMovieInspectionEntityPathOf

    • The unique inspection identity of a displayed node beneath root.

      Named nodes form a /-joined name path, as autoMovieInspectionPathOf reads it, so unnamed wrapper groups add no segment. Among the named nodes that share the same nearest named ancestor (or the root), a name held by more than one becomes name#k, with k the node's 0-based order among them in depth-first child order. Unnamed nodes below the nearest named ancestor append .children[i], their index in the parent, and a node with no named ancestor starts from scene. With unique names and named nodes the result equals autoMovieInspectionPathOf.

      A caller naming many nodes of one unchanged graph passes one frontiers map to all calls, so each ancestor's frontier is scanned once; a graph that changes between calls needs a fresh map.

      Parameters

      • root: Object3D

        The inspected root, which adds no segment.

      • object: Object3D

        The node to identify, the root or beneath it.

      • Optionalfrontiers: Map<
            Object3D<Object3DEventMap>,
            ReadonlyMap<string, readonly Object3D<Object3DEventMap>[]>,
        >

        Optional memo of each ancestor's named frontier, valid while the graph is unchanged.

      Returns string

      The node's identity, unique among the nodes beneath root.

      When object is not root or beneath it.