Selva Compute API Reference - v2.1.0
    Preparing search index...

    Function createLabelLayer

    • Parameters

      • container: HTMLElement

        element to overlay labels onto — normally the canvas's parent, so the overlay and canvas share a positioning context. The overlay is appended here and absolutely positioned.

      • scene: Scene

        labels are parented to a group added to this scene, so they render and follow the camera without the caller wiring scene-graph parenting.

      Returns LabelLayer