UNPKG

@itwin/core-frontend

Version:
35 lines 1.83 kB
/** @packageDocumentation * @module Views */ import { Id64String } from "@itwin/core-bentley"; import { ContextRealityModel, ContextRealityModelProps, RealityDataSourceKey } from "@itwin/core-common"; import { DisplayStyleState } from "./DisplayStyleState"; import { IModelConnection } from "./IModelConnection"; import { SpatialClassifiersState } from "./SpatialClassifiersState"; import { TileTreeReference } from "./tile/internal"; /** A [ContextRealityModel]($common) attached to a [[DisplayStyleState]] supplying a [[TileTreeReference]] used to draw the * reality model in a [[Viewport]]. * @see [DisplayStyleSettings.contextRealityModels]($common). * @see [[DisplayStyleState.contextRealityModelStates]]. * @see [[DisplayStyleState.attachRealityModel]]. * @public * @extensions */ export declare class ContextRealityModelState extends ContextRealityModel { private readonly _treeRef; /** The iModel with which the reality model is associated. */ readonly iModel: IModelConnection; /** The reality data source key with which the reality model is associated. */ readonly rdSourceKey: RealityDataSourceKey; /** @internal */ constructor(props: ContextRealityModelProps, iModel: IModelConnection, displayStyle: DisplayStyleState); /** The tile tree reference responsible for drawing the reality model into a [[Viewport]]. */ get treeRef(): TileTreeReference; /** The set of available [[ActiveSpatialClassifier]]s that can be used to classify the reality model. */ get classifiers(): SpatialClassifiersState; /** The transient Id assigned to this reality model at run-time. */ get modelId(): Id64String | undefined; /** Whether the reality model spans the entire globe ellipsoid. */ get isGlobal(): boolean; } //# sourceMappingURL=ContextRealityModelState.d.ts.map