/// <summary> /// Set the lifetimes (and interpolate the percentages linearely) (in s) /// </summary> /// <param name="lifetimes"></param> public void SetAverageLifetimes(params float[] lifetimes) { this.AverageLifetimes = PercentageArray <float> .FromArray(lifetimes); }
/// <summary> /// Set the scales (and interpolate the percentages linearely) /// </summary> /// <param name="scales"></param> public void SetScales(params float[] scales) { this.ScalePercentages = PercentageArray <float> .FromArray(scales); }
/// <summary> /// Set the alpha values (in [0,1]) (and interpolate the percentages linearely) /// </summary> /// <param name="scales"></param> public void SetAlphas(params float[] scales) { this.AlphaPercentages = PercentageArray <float> .FromArray(scales); }
/// <summary> /// Set the colours (and interpolate the percentages linearely) /// </summary> /// <param name="colors"></param> public void SetColors(params Color[] colors) { this.ColorPercentages = PercentageArray <Color> .FromArray(colors); }