Пример #1
0
        public void Render3D(EventType eventType, IPluginViewSettings pluginViewSettings, viz.Context context, viz.Texture texture)
        {
            lock (this.lockObj)
            {
                switch (eventType)
                {
                case EventType.Monitor:
                    AccessoryPlugin.Render3D(pluginViewSettings, this.monitorAccessory);
                    break;

                case EventType.Inspection:
                    AccessoryPlugin.Render3D(pluginViewSettings, this.inspectionAccessory);
                    break;
                }
            }
        }
Пример #2
0
        public void HandleEvent(EventType eventType, KStudioEvent eventObj)
        {
            lock (this.lockObj)
            {
                switch (eventType)
                {
                case EventType.Monitor:
                    AccessoryPlugin.HandleEvent(eventObj, this.monitorAccessory);
                    break;

                case EventType.Inspection:
                    AccessoryPlugin.HandleEvent(eventObj, this.inspectionAccessory);
                    break;
                }
            }
        }