/// <summary> /// Set the percentages and alpha values (in [0,1]) (in the form: pct, alpha, pct, alpha, ...) /// </summary> /// <param name="percentageAlphaValues"></param> public void SetPercentageAlphas(params object[] percentageAlphaValues) { this.AlphaPercentages = PercentageArray <float> .FromParams(percentageAlphaValues); }
/// <summary> /// Set the percentages and colours (in the form: pct, color, pct, color, ...) /// </summary> /// <param name="percentageColors"></param> public void SetPercentageColors(params object[] percentageColors) { this.ColorPercentages = PercentageArray <Color> .FromParams(percentageColors); }
/// <summary> /// Set the percentages and scales (in the form: pct, scale, pct, scale, ...) /// </summary> /// <param name="percentageScales"></param> public void SetPercentageScales(params object[] percentageScales) { this.ScalePercentages = PercentageArray <float> .FromParams(percentageScales); }
/// <summary> /// Set the percentages and lifetimes (in the form: pct, time, pct, time, ...) (in s) /// </summary> /// <param name="percentageLifetimes"></param> public void SetPercentageAverageLifetimes(params object[] percentageLifetimes) { this.AverageLifetimes = PercentageArray <float> .FromParams(percentageLifetimes); }