API Reference > ui-components > Viewport > ViewportComponentEvents ViewportComponentEvents Class Viewport Rotation events and methods Methods Name Description initialize(): void Static setCubeMatrix(rotMatrix: Matrix3d, face: Face = Face.None, complete: boolean = false): void Static setDrawingViewportState(origin: Point3d, rotation: Matrix3d, complete: boolean = false): void Static setStandardRotation(standardRotation: StandardViewId): void Static setViewMatrix(viewport: Viewport, animationTime?: number): void Static Properties Name Type Description extents Static Vector3d face Static Face onCubeRotationChangeEvent Static CubeRotationChangeEvent onDrawingViewportChangeEvent Static DrawingViewportChangeEvent onStandardRotationChangeEvent Static StandardRotationChangeEvent onViewClassFullNameChangedEvent Static ViewClassFullNameChangedEvent onViewIdChangedEvent Static ViewIdChangedEvent onViewRotationChangeEvent Static ViewRotationChangeEvent origin Static Point3d rotationMatrix Static Matrix3d Defined in ui/components/src/ui-components/viewport/ViewportComponentEvents.ts Line 97 Last Updated: 15 June, 2021