/// <summary> /// Sets the settings panel object. /// Sets the range, the repel distance, and the vortex, random repel and the random range indicator. /// </summary> /// <param name="settingsPanel"></param> public void SetSettingsPanel(ParticleSystemSettingsPanel settingsPanel) { AirFlowUserSettings airFlowSettings = (AirFlowUserSettings)settingsPanel; range = airFlowSettings.getRange(); repel = airFlowSettings.getRepel(); vortex = airFlowSettings.GetVortex(); interaction = airFlowSettings.GetInteraction(); randomRepel = airFlowSettings.getRandomRepel(); randomRange = airFlowSettings.getRandomRange(); }
public void SetSettingsPanel(ParticleSystemSettingsPanel settingsPanel) { //not needed, don't do anything }
public void SetSettingsPanel(ParticleSystemSettingsPanel settingsPanel) { //not needed here }
/// <summary> /// Unused method /// </summary> /// <param name="context"></param> public void SetSettingsPanel(ParticleSystemSettingsPanel settingsPanel) { //TODO }
private void particleSystemSelected(object sender, EventArgs e) { if (particleSystemSelection.SelectedIndex >= 0) { frameControls.Enabled = true; selectedParticleSystem = particleSystemRegistration.GetParticleSystemInstanceByName((string)particleSystemSelection.SelectedItem); panelSystemSettingsPanel = selectedParticleSystem.GetParticleSystemSettingsPanel(); particleSystemDescription.Text = selectedParticleSystem.GetDescription(); psSettings.Controls.Remove(particleSystemSettingsPanel); particleSystemSettingsPanel = selectedParticleSystem.GetParticleSystemSettingsPanel(); psSettings.Controls.Add(particleSystemSettingsPanel); prepareGeneralSettingsPanel(true); SetFrameCounter("0"); Context.clearPlaceableObjects(); ready = false; } Invalidate(); }