PixiThree - v0.0.16
    Preparing search index...

    Function mapNdcToUv

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

      Parameters

      • ndc: Vector2

        Vector2 with NDC coordinates (-1 to 1)

      • Optionalout: Vector2

        Optional Vector2 to store the UV result

      Returns Vector2

      The UV Vector2