Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Function createGSplatQuadGeometry

    • Create the base quad geometry for gsplat instances.

      Each gsplat is rendered as a quad with 4 vertices:

      • (-1, -1): Bottom-left
      • ( 1, -1): Bottom-right
      • (-1, 1): Top-left
      • ( 1, 1): Top-right

      The vertex shader expands these based on the 2D covariance eigenvalues.

      Returns BufferGeometry

      THREE.BufferGeometry for instanced rendering