PixiThree - v0.0.16
    Preparing search index...

    Function mapPixiToUv

    • Maps Pixi pixel coordinates to UV coordinates (0-1).

      Parameters

      • point: Point

        The Pixi Point in local coordinates

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

        The bounds to map within

      • Optionalout: Vector2

        Optional Three.js UV Vector2 to store the result

      Returns Vector2

      The UV Vector2