Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Broadcast a glass-partition mode to every registered data mesh's material (the refraction split's per-pass write; glass-partition.ts). Materials without the uniform — three's own, and the pick materials, which live in the pick scene and never register here — are left alone. Shared materials are written more than once, which setGlassPartition makes a cheap no-op. Returns how many materials changed.

      Parameters

      Returns number