{"Name":"\\i[70]Particle Quality","---Settings---":"","HelpDesc":"\"Increase or Decrease the Particle Quality.\"","Symbol":"particleQuality","ShowHide":"\"show = true;\"","Enable":"\"enabled = true;\"","Ext":"\"ext = 0;\"","---Functions---":"","MakeCommandCode":"\"this.createParticleOptions();\"","DrawItemCode":"\"var $ = piv.lib.Pv_ParticleCore;\\nvar rect = this.itemRectForText(index);\\nvar statusWidth = this.statusWidth();\\nvar titleWidth = rect.width - statusWidth;\\nthis.resetTextColor();\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\nthis.drawOptionsName(index);\\nthis.drawText('◀ '+this.statusText(index)+' ▶', titleWidth, rect.y, statusWidth, 'center');\"","ProcessOkCode":"\"var $ = piv.lib.Pv_ParticleCore;\\nvar index = this.index();\\nvar symbol = this.commandSymbol(index);\\nvar value = ConfigManager.getParticleIndex();\\nvar newValue = value > $.parameters['Quality Options'].length - 2 ? 0 : value + 1; \\nthis.changeValue(symbol, newValue);\\npiv.particles.loadParticleLayerSettings(ConfigManager.getParticleQuality());\"","CursorRightCode":"\"var $ = piv.lib.Pv_ParticleCore;\\nvar index = this.index();\\nvar symbol = this.commandSymbol(index);\\nvar value = ConfigManager.getParticleIndex();\\nvar newValue = value > $.parameters['Quality Options'].length - 2 ? 0 : value + 1; \\nthis.changeValue(symbol, newValue);\\npiv.particles.loadParticleLayerSettings(ConfigManager.getParticleQuality());\"","CursorLeftCode":"\"var $ = piv.lib.Pv_ParticleCore;\\nvar index = this.index();\\nvar symbol = this.commandSymbol(index);\\nvar value = ConfigManager.getParticleIndex();\\nvar newValue = 0 >= value \\n ? $.parameters['Quality Options'].length -1\\n : value - 1; \\nthis.changeValue(symbol, newValue);\\npiv.particles.loadParticleLayerSettings(ConfigManager.getParticleQuality());\"","DefaultConfigCode":"\"\"","SaveConfigCode":"\"\"","LoadConfigCode":"\"\""}