Luxar Viewer API Documentation - v2026.10.19
    Preparing search index...

    Function computeWorldNdTransform

    • Compute the world nD transform for a node by walking the scene graph.

      Collects nd_transforms from root to target and composes them.

      O(N) per call. Production code reads world transforms from the loader's SceneNodeIndex (scene-loader/view-state/scene-node-index.ts), which composes them once per scene; this walk is the reference that index is tested against.

      Parameters

      • sceneGraph: SceneNode

        Root scene node

      • targetPath: string

        Path to the target node

      Returns NdTransformMap

      Composed world nD transform (empty map = identity)