alignToSpatialView Method

Aligns the view to match the frustum of the spatial view associated with the specified marker.

alignToSpatialView(marker: SectionMarker): Promise<boolean>

@returns false if the frustum could not be applied, e.g. because the spatial view could not be loaded or the viewport is viewing a 2d model.

@see - alignView to align to the section plane, which may differ.

Parameter Type Description
marker SectionMarker The marker whose spatial view's frustum should be applied.

Returns - Promise

false if the frustum could not be applied, e.g. because the spatial view could not be loaded or the viewport is viewing a 2d model.

Defined in

Last Updated: 17 December, 2024