- loadPly<Type, ResultType>(url, options?): Promise<ParsedResultType<ResultType>>
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;
} = {}Optional
customPropertyMapping?: Record<string, string[]>
Optional
fetcher?: Fetcher
Optional
propertyNameMapping?: Record<string, string>
Optional
type?: Type