UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

23 lines (22 loc) 932 B
import { BufferGeometry } from 'three'; import { BaseNodeType } from '../../../engine/nodes/_Base'; import { CoreBaseLoader } from '../_Base'; export declare class CsvLoader extends CoreBaseLoader<string> { private attribute_names?; protected _node?: BaseNodeType | undefined; static SEPARATOR: string; static VECTOR_SEPARATOR: string; private attribute_names_from_first_line; private lines; private points_count; private attribute_values_by_name; private attribute_data_by_name; private _loading; constructor(url: string, attribute_names?: string[] | undefined, _node?: BaseNodeType | undefined); load(): Promise<BufferGeometry<import("three").NormalBufferAttributes> | undefined>; private loadData; private infer_types; private _value_from_line_element; read_values(): void; create_points(): BufferGeometry<import("three").NormalBufferAttributes> | undefined; }