Exemple #1
0
        public IImageDisplay createImageDisplay(String cameraName)
        {
            SceneViewWindow sceneWindow = sceneViewController.findWindow(cameraName);

            if (sceneWindow == null)
            {
                sceneWindow = sceneViewController.ActiveWindow;
                Log.Warning("Could not find SceneViewWindow {0}. Using active window {1} instead.", cameraName, sceneWindow.Name);
            }
            MyGUIImageDisplay display = new MyGUIImageDisplay(this, sceneWindow);

            displays.Add(display);
            return(display);
        }
Exemple #2
0
 internal void displayDisposed(MyGUIImageDisplay display)
 {
     displays.Remove(display);
 }