UNPKG

3d-tiles-renderer

Version:

https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/specification

18 lines (11 loc) 514 B
import { Vector3 } from 'three'; import { GLTFLoaderPlugin } from 'three/examples/jsm/loaders/GLTFLoader.js'; export class GLTFMeshFeaturesExtension implements GLTFLoaderPlugin { name: 'EXT_mesh_features'; } export class MeshFeatures { getFeatures( triangle: number, barycoord: Vector3 ): Array<number>; getFeaturesAsync( triangle: number, barycoord: Vector3 ): Promise<Array<number>>; getFeaturesInfo(): Array<{ label: string, propertyTable: number, nullFeatureId: number | null }>; dispose(): void; }