setRotation Method
Change the rotation of the view.
setRotation(rot: Matrix3d): void
@note viewRot must be ortho-normal. For 2d views, only the rotation angle about the z axis is used.
Parameter | Type | Description |
---|---|---|
rot | Matrix3d |
Returns - void
Defined in
- core/frontend/src/ViewState.ts Line 2417
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.