weasel API - v0.8.0
    Preparing search index...

    Function worldPoseLookup

    • Build a (id) => world pose | null callback over a PoseAdapter. Convenience for RenderLayers that take a getPose callback (selection overlays, debug layers, etc.) so consumers don't hand-write a composeWorldPose call per layer.

      Returns null when adapter.getPose or adapter.getParent throws — the common case is an id removed mid-render between selection state and the next paint. Layers should treat null as "skip this id."

      Type Parameters

      • TPose

      Parameters

      Returns (id: string) => TPose | null