UNPKG

@realsee/five

Version:

Realsee Renderer SDK

19 lines (18 loc) • 559 B
import * as THREE from 'three'; import { type ViewLayer } from './view-layer'; import { type Model } from './model'; import { type Tile } from './tile3d/tile'; export interface Intersection extends THREE.Intersection { /** 楼层 */ floorIndex: number; /** * 楼层 * @deprecated * use floorIndex instead. */ floor: number; model?: Model; viewLayer?: ViewLayer; tile?: Tile; } export declare function sortIntersects(intersects: Intersection[], sortByDistance?: boolean, firstHitOnly?: boolean): Intersection[];