Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 protected void AddProperty(ProcessorProperty property)
 {
     properties.Add(property);
     property.AddHook(delegate { this.ReleaseCache(); });
 }