protected IrPluginViewSettings(IrPluginViewSettings source) { if (source == null) { throw new ArgumentNullException("source"); } this.pluginService = source.pluginService; this.eventType = source.eventType; this.lastContext = source.lastContext; this.amplification = source.amplification; this.gamma = source.gamma; }
private viz.Texture GetTexture(IPluginViewSettings pluginViewSettings, EventTypePluginData data) { Debug.Assert(data != null); viz.Texture value = null; lock (this.lockObj) { IrPluginViewSettings irPluginViewSettings = pluginViewSettings as IrPluginViewSettings; if (irPluginViewSettings != null) { IrPlugin.UpdateData(irPluginViewSettings.RampTexture, data); value = data.irTexture; } } return(value); }