UNPKG

@pnext/three-loader

Version:

Potree loader for ThreeJS, converted and adapted to Typescript.

11 lines (10 loc) 286 B
import { Color, IUniform as IThreeUniform, Vector4 } from 'three'; export type IGradient = [number, Color][]; export interface IClassification { [value: string]: Vector4; DEFAULT: Vector4; } export interface IUniform<T> extends IThreeUniform { type: string; value: T; }