public PolarTrig2D() : base() { parameterMap = new ParameterMap(); emission = new FloatParameter("Emission", new float[] { }, new ParameterRange(0, 60), 10, ParameterDictionary.EmissionKey); XRadius = new FloatParameter("X Radius", new float[] { 1f, 2f, 3f, 4f }, new ParameterRange(0, 5f), 1, ParameterDictionary.X_RadiusKey); YRadius = new FloatParameter("Y Radius", new float[] { 1f, 2f, 3f, 4f }, new ParameterRange(0, 5f), 1, ParameterDictionary.Y_RadiusKey); SyncRadius = new BooleanParameter("Synch Radius", ParameterDictionary.SyncRadiusKey, true); SineCoefficient = new FloatParameter("Sine Coeffecient", new float[] { }, new ParameterRange(0, 50), 5, ParameterDictionary.SineCoefKey); CosineCoefficient = new FloatParameter("Cosine Coeffecient", new float[] { }, new ParameterRange(0, 50), 19, ParameterDictionary.CosCoefKey); SineExponent = new FloatParameter("Sine Exponent", new float[] { 0.5f, 1f, 2f, 3f, 4f }, new ParameterRange(0.25f, 4f), 2, ParameterDictionary.SineExponentKey); CosineExponent = new FloatParameter("Cosine Exponent", new float[] { 0.5f, 1f, 2f, 3f, 4f }, new ParameterRange(0.25f, 4f), 2, ParameterDictionary.CosExponentKey); Hue = new FloatParameter("Hue", new float[] { }, new ParameterRange(0, 360), 0, ParameterDictionary.HueKey); Saturation = new FloatParameter("Saturation", new float[] { }, new ParameterRange(0, 1), 0.8f, ParameterDictionary.SaturationKey); Brightness = new FloatParameter("Brightness", new float[] { }, new ParameterRange(0, 1), 0.8f, ParameterDictionary.BrightnessKey); Alpha = new FloatParameter("Alpha", new float[] { }, new ParameterRange(0, 1f), 0.5f, ParameterDictionary.AlphaKey); Theta = new FloatParameter("Theta", new float[] { Mathf.PI / 2, Mathf.PI, 3 * Mathf.PI / 2 }, new ParameterRange(0, 2 * Mathf.PI), 3.14f, ParameterDictionary.ThetaKey); parameterMap.AddFloatParameter(emission, ParameterDictionary.EmissionKey); parameterMap.AddFloatParameter(XRadius, ParameterDictionary.X_RadiusKey); parameterMap.AddFloatParameter(YRadius, ParameterDictionary.Y_RadiusKey); parameterMap.AddBoolParameter(SyncRadius, ParameterDictionary.SyncRadiusKey); parameterMap.AddFloatParameter(SineCoefficient, ParameterDictionary.SineCoefKey); parameterMap.AddFloatParameter(CosineCoefficient, ParameterDictionary.CosCoefKey); parameterMap.AddFloatParameter(SineExponent, ParameterDictionary.SineExponentKey); parameterMap.AddFloatParameter(CosineExponent, ParameterDictionary.CosExponentKey); parameterMap.AddFloatParameter(Hue, ParameterDictionary.HueKey); parameterMap.AddFloatParameter(Saturation, ParameterDictionary.SaturationKey); parameterMap.AddFloatParameter(Brightness, ParameterDictionary.BrightnessKey); parameterMap.AddFloatParameter(Alpha, ParameterDictionary.AlphaKey); parameterMap.AddFloatParameter(Theta, ParameterDictionary.ThetaKey); }