private void RenderElement(Pulse.Pulse pulse, GradientLevelPair gradientLevelPair, TimeSpan startTime, ElementNode element, EffectIntents effectIntents) { pulse.ColorGradient = gradientLevelPair.ColorGradient; pulse.LevelCurve = gradientLevelPair.Curve; pulse.TargetNodes = new[] { element }; var result = pulse.Render(); result.OffsetAllCommandsByTime(startTime); effectIntents.Add(result); }