UNPKG

@pnext/three-loader

Version:

Potree loader for ThreeJS, converted and adapted to Typescript.

11 lines (8 loc) 228 B
import { Object3D } from 'three'; import { IPointCloudTreeNode } from './types'; export class PointCloudTree extends Object3D { root: IPointCloudTreeNode | null = null; initialized() { return this.root !== null; } }