@itwin/core-frontend
Version:
iTwin.js frontend components
24 lines • 951 B
TypeScript
/** @packageDocumentation
* @module Tiles
*/
import { Id64String } from "@itwin/core-bentley";
import { IModelConnection } from "../../IModelConnection";
import { BatchTableProperties } from "../../tile/internal";
/**
* Mapping between transient IDs assigned to 3D tiles "features" and batch table properties (and visa versa).
* these properties may be present in batched tile sets.
*/
export declare class BatchedTileIdMap implements BatchTableProperties {
private readonly _iModel;
private _featureMap?;
private _idMap?;
constructor(iModel: IModelConnection);
/** Obtains or allocates the Id64String corresponding to the supplied set of JSON properties. */
getBatchId(properties: any): Id64String;
getFeatureProperties(id: Id64String): Record<string, any> | undefined;
entries(): Iterable<{
id: Id64String;
properties: Record<string, any>;
}>;
}
//# sourceMappingURL=BatchedTileIdMap.d.ts.map