Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Picking-system hook: the same UV transform the mega-shader uses for chromatic lens distortion, exposed so input coordinates can be corrected before lookup. Returns null when distortion is off.

      Vector2 values are cloned so a caller mutating the returned object can't accidentally pollute the shader's live uniforms.

      Parameters

      Returns
          | {
              distortion: Vector2;
              principalPoint: Vector2;
              focalLength: Vector2;
              skew: number;
          }
          | null