UNPKG

51timapi

Version:

TimApi is a traffic related plugin for WdpApi.

17 lines (16 loc) 935 B
import { Basic } from '../common/basic'; import { ResultType, Coord2DType } from '../common/data-type'; import { IPickerRectangle, IPickerMaterial, IPickerTilesNode } from '../common/interface/tool'; declare class PickerController extends Basic { private static instance; private apiClassName; constructor(obj: any); static getInstance(obj: any): PickerController; PickByScreenPos(screenPos: Coord2DType): Promise<ResultType>; PickWorldPointByScreenPos(screenPos: Coord2DType): Promise<ResultType>; PickAesTilesNodeByScreenPos(screenPos: Coord2DType, EntityTypeFilter: Array<string>, bFilterForExclude?: boolean): Promise<ResultType>; PickAesTilesNodesByRectangle(opt: IPickerTilesNode): Promise<ResultType>; PickEntityByRectangle(opt: IPickerRectangle): Promise<ResultType>; PickMaterialByScreenPos(opt: IPickerMaterial): Promise<ResultType>; } export default PickerController;