@equinor/videx-3d
    Preparing search index...

    Function createIndexedGeometry

    • Assemble an indexed BufferGeometry from flat position, normal and uv arrays plus a triangle index list. The index buffer is automatically Uint16Array or Uint32Array depending on the vertex count, and bounding volumes are computed. Optional draw groups ([start, count, materialIndex]) may be supplied for multi-material meshes.

      Parameters

      • positions: ArrayLike<number>
      • normals: ArrayLike<number>
      • uvs: ArrayLike<number>
      • indices: ArrayLike<number>
      • Optionalgroups: number[][] | null

      Returns BufferGeometry