lookAtViewAlignedVolume Method

Look at a volume of space defined by a range in view local coordinates, keeping its current rotation.

lookAtViewAlignedVolume(volume: Range3d, aspect?: number, options?: ViewChangeOptions): void

see ViewState.lookAtVolume

Parameter Type Description
volume Range3d The new volume, in view-aligned coordinates. The resulting view will show all of the volume.
aspect number The X/Y aspect ratio of the view into which the result will be displayed. If the aspect ratio of the volume does not
match aspect, the shorter axis is lengthened and the volume is centered. If aspect is undefined, no adjustment is made.
options ViewChangeOptions for providing MarginPercent and onExtentsError

Returns - void

Defined in

Last Updated: 12 June, 2024