コード例 #1
0
        public static void MakeEffectsAsUpdate(ActionEffects dest, SegmentSelector ss, Effect effect)
        {
            IEnumerable <int> segments;

            if (ss.IsReversed)
            {
                segments = Enumerable.Range(0, dest.SegmentCount).Except(ss.IndexList);
            }
            else
            {
                segments = ss.IndexList;
            }
            foreach (var s in segments)
            {
                dest.UpdateEffects.Add(new FilteredEffect
                {
                    Filter = new Effects.AnimationSegmentFilter {
                        Segment = s
                    },
                    Effect = effect,
                });
            }
        }
コード例 #2
0
 public abstract void MakeEffects(ActionEffects effects);