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

    Function createParallaxLayer

    • Wrap source RenderLayers in a parallax plane. The plane's inner view is derived from the camera view per deriveParallaxView; source layers run under that inner view and the result is emitted as space: 'screen' so the outer Canvas applies no further transform.

      Cosmetic only (v1): pointer events still target the outer view. Objects on parallax planes are paint, not clickable scene nodes. Use the standalone deriveParallaxView helper if you need to project pointer positions for a v2 interactive plane.

      Screen-space source layers don't compose meaningfully — they ignore the derived view by definition. Same constraint as createViewportLayer.

      Type Parameters

      • TData

      Returns RenderLayer<TData>