/// <summary> /// Resets the camera parameters and geometry processing parameters. /// </summary> void Reset() { // Reset the camera parameters. if (cameraModel == null) { cameraModel = CameraModel.CreateCameraModel(transform); } cameraModel.Reset(); // Reset the geometry processing parameters. _geometryProcessingMethod = GeneralToolkit.GetOrCreateChildComponent <COLIBRIVR.Processing.PerViewMeshesQSTR>(transform); _geometryProcessingMethod.Reset(); // Get the preview camera manager. _previewCameraManager = GeneralToolkit.GetOrCreateChildComponent <PreviewCameraManager>(transform); // Update the displayed preview. previewIndex = -1; Selected(); }
public virtual void Execute(object parameter) { m_camera.Reset(m_models.World.AnimationFrameCurrent); }