public override void AddClipInternal(MovieCurveClip clip)
        {
            for (int i = 0; i < propsToChange.Count; i++)
            {
                MovieProperty prop   = propsToChange[i];
                float[]       values = prop.GetValues(this.component);

                this.AddCurvesForProp(prop, clip, i);
            }
        }
 private void AddCurvesForProp(MovieProperty prop, MovieCurveClip clip, int index)
 {
     float[] values = prop.GetValues(this.component);
     for (int j = 0; j < values.Length; j++)
     {
         int curveIdx = clip.AddCurve(new MovieCurve(clip.length, values[j],
                                                     Translation.TryGetText("Property", prop.Name) + "." + j));
         this.propIdxToCurveIdxes[index].Add(curveIdx);
     }
 }
        public override float[] GetWorldValues()
        {
            List <float> values = new List <float>();

            for (int i = 0; i < propsToChange.Count; i++)
            {
                MovieProperty prop       = propsToChange[i];
                float[]       propValues = prop.GetValues(this.component);

                values.AddRange(propValues);
            }
            return(values.ToArray());
        }