PixiThree - v0.0.16
    Preparing search index...

    Function mapUvToNdc

    • Maps UV coordinates (0-1) to Three.js NDC coordinates (-1 to 1).

      Parameters

      • uv: Vector2

        Vector2 with UV coordinates (0-1)

      • Optionalout: Vector2

        Optional Vector2 to store the NDC result

      Returns Vector2

      The NDC Vector2