public void SetCamera(viewType type, cameraProjectionType proj) { Camera.ProjectionMode = proj; m_viewtype = type; Viewport.SetCameraView(m_viewtype); if (Entities != null && Entities.Count > 0) ZoomFit(); Refresh(); }
public void SetCamera(cameraProjectionType type) { SetCamera(m_viewtype, type); }