protected void AddHiddenProperty(ProcessorProperty property) { properties.Add(property); property.AddHook(delegate { this.ReleaseCache(); }); property.AddHook(delegate { if (updatePreview) { if (Globals.instance.realtimeUpdatePreview == true) { Globals.instance.components.outputNode.UpdatePreview(); } else if (property.isSlider == false) { Globals.instance.components.outputNode.UpdatePreview(); } } } ); property.hidden = true; }
protected void AddProperty(ProcessorProperty property) { properties.Add(property); property.AddHook(delegate { this.ReleaseCache(); }); }