API Reference > ui-components > Viewport > ViewportComponentEvents ViewportComponentEvents Class Viewport Rotation events and methods Methods Name Description constructor(): ViewportComponentEvents 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 StaticReadonly Vector3d face Static Face onCubeRotationChangeEvent StaticReadonly CubeRotationChangeEvent onDrawingViewportChangeEvent StaticReadonly DrawingViewportChangeEvent onStandardRotationChangeEvent StaticReadonly StandardRotationChangeEvent onViewClassFullNameChangedEvent StaticReadonly ViewClassFullNameChangedEvent onViewIdChangedEvent StaticReadonly ViewIdChangedEvent onViewRotationChangeEvent StaticReadonly ViewRotationChangeEvent origin StaticReadonly Point3d rotationMatrix StaticReadonly Matrix3d Defined in ui/components/src/ui-components/viewport/ViewportComponentEvents.ts Line 97 Last Updated: 11 June, 2024