private void GetCameraMatricesButton_OnClick(object sender, RoutedEventArgs e) { Matrix3D viewMatrix, projectionMatrix; _selectedCamera.GetCameraMatrices(out viewMatrix, out projectionMatrix); MessageBox.Show(string.Format(System.Globalization.CultureInfo.InvariantCulture, "Calling:\r\nGetCameraMatrices:\r\n\r\nResult:\r\nviewMatrix:\r\n{0}\r\nprojectionMatrix:\r\n{1}", Ab3d.Utilities.Dumper.GetMatrix3DText(viewMatrix), Ab3d.Utilities.Dumper.GetMatrix3DText(projectionMatrix))); // There are also the following 3 static GetCameraMatrices methods available: //public static bool GetCameraMatrices(Viewport3D viewport3D, out Matrix3D viewMatrix, out Matrix3D projectionMatrix) //public static bool GetCameraMatrices(Camera camera, double viewportAspectRatio, out Matrix3D viewMatrix, out Matrix3D projectionMatrix) //public static bool GetCameraMatrices(BaseCamera camera, double viewportAspectRatio, out Matrix3D viewMatrix, out Matrix3D projectionMatrix) }