PixiThree - v0.0.16
    Preparing search index...

    Function mapNdcToPixi

    • Maps Three.js NDC coordinates (-1 to 1) to a Pixi Point.

      Parameters

      • ndc: Vector2

        Vector2 with NDC coordinates (-1 to 1)

      • bounds: Rectangle | Bounds | { height: number; width: number; x?: number; y?: number }

        The bounds to map within

      • Optionalout: Point

        Optional Pixi Point to store the result

      Returns Point

      The Pixi Point