PixiThree - v0.0.16
    Preparing search index...

    Function mapPixiToNdc

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

      Parameters

      • point: Point

        The Pixi Point in local coordinates

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

        The bounds to normalize within

      • Optionalout: Vector2

        Optional Vector2 to store the NDC result

      Returns Vector2

      The NDC Vector2