protected override void _PreRender(CancellationTokenSource tokenSource = null) { _elementData = new EffectIntents(); if (TargetNodeHandling == TargetNodeSelection.Group) { if (TargetNodes.Length == 1) { var renderNodes = GetNodesToRenderOn(TargetNodes.First()); DoRendering(renderNodes, tokenSource); } else { DoRendering(TargetNodes.ToList(), tokenSource); } } else { if (TargetNodes.Length == 1) { var targetNodes = GetNodesToRenderOn(TargetNodes.First()); foreach (var elementNode in targetNodes) { var renderNodes = GetNodesToRenderOn(elementNode); DoRendering(renderNodes, tokenSource); } } else { foreach (var elementNode in TargetNodes) { var renderNodes = GetNodesToRenderOn(elementNode); DoRendering(renderNodes, tokenSource); } } } //_elementData = IntentBuilder.ConvertToStaticArrayIntents(_elementData, TimeSpan, IsDiscrete()); }