示例#1
0
        public ITextDisplay createTextDisplay(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);
            }
            MyGUITextDisplay display = new MyGUITextDisplay(this, sceneWindow);

            displays.Add(display);
            return(display);
        }
示例#2
0
 internal void textDisposed(MyGUITextDisplay display)
 {
     displays.Remove(display);
 }