createBlank MethodStatic

Beta

Create a new blank SpatialViewState. The returned SpatialViewState will nave non-persistent empty CategorySelectorState and ModelSelectorState, and a non-persistent DisplayStyle3dState with default values for all of its components. Generally after creating a blank SpatialViewState, callers will modify the state to suit specific needs.

createBlank(iModel: IModelConnection, origin: XYAndZ, extents: XYAndZ, rotation?: Matrix3d): SpatialViewState

Parameter Type Description
iModel IModelConnection The IModelConnection for the new SpatialViewState
origin XYAndZ The origin for the new SpatialViewState
extents XYAndZ The extents for the new SpatialViewState
rotation Matrix3d The rotation of the new SpatialViewState. If undefined, use top view.

Defined in

Last Updated: 08 January, 2020