• Type Parameters

    • Type extends
          | "mesh"
          | "points"
          | "geometry"
          | "line"
          | "pbmPointCloud"
    • ResultType = {
          geometry: BufferGeometry;
          line: Line<BufferGeometry, LineBasicMaterial>;
          mesh: Mesh<BufferGeometry, MeshBasicMaterial>;
          pbmPointCloud: PBMPointCloud;
          points: Points<BufferGeometry, PointsMaterial>;
      }[Type]

    Parameters

    • url: string
    • options: {
          customPropertyMapping?: Record<string, string[]>;
          fetcher?: Fetcher;
          propertyNameMapping?: Record<string, string>;
          type?: Type;
      } = {}
      • OptionalcustomPropertyMapping?: Record<string, string[]>
      • Optionalfetcher?: Fetcher
      • OptionalpropertyNameMapping?: Record<string, string>
      • Optionaltype?: Type

    Returns Promise<ParsedResultType<ResultType>>