如视 Five SDK
    Preparing search index...

    Function loadPly

    • Type Parameters

      • Type extends "geometry" | "line" | "pbmMesh" | "pbmPointCloud"
      • ResultType = {
            geometry: BufferGeometry;
            line: Line<BufferGeometry>;
            pbmMesh: PBMMesh;
            pbmPointCloud: PBMPointCloud;
        }[Type]

      Parameters

      • url: string
      • options: {
            customPropertyMapping?: Record<
                string,
                {
                    itemNames: string[];
                    itemType: | "float32"
                    | "uint32"
                    | "int32"
                    | "uint16"
                    | "int16"
                    | "uint8"
                    | "int8";
                    normalized?: boolean;
                },
            >;
            fetcher?: Fetcher;
            light?: boolean;
            modelUpAxis?: "Y"
            | "Z";
            propertyNameMapping?: Record<string, string>;
            type?: Type;
            upAxis?: "Y" | "Z";
        } = {}

      Returns Promise<LoadResultType<ResultType>>