@lakuna/uscene
    Preparing search index...

    Function render

    • Render a scene using the default ordering, as returned by getOrderedRenderables.

      Parameters

      • scene: Node

        The root node of the scene.

      • f: (node: RenderableNode, worldMat: Readonly<Matrix4Like>) => void

        The rendering function to use on each renderable node. Receives as arguments the node and its world matrix at the time of rendering.

      • Optionaleye: Readonly<Vector3Like>

        The position of the viewer/camera that will render the scene.

      Returns void