Пример #1
0
        public static void Write(BinaryWriter writer, SoftwareFCurve softwareFCurve)
        {
            writer.Write((int)softwareFCurve.Type);
            writer.Write(softwareFCurve.Index);
            writer.Write(softwareFCurve.DataPath);

            writer.Write(softwareFCurve.KeyFrames.Count);
            foreach (var keyframe in softwareFCurve.KeyFrames)
            {
                KeyFrame.Write(writer, keyframe);
            }
        }
Пример #2
0
        public static void Write(BinaryWriter writer, SoftwareFCurve softwareFCurve)
        {
            writer.Write((int)softwareFCurve.Type);
            writer.Write(softwareFCurve.Index);
            writer.Write(softwareFCurve.DataPath);

            writer.Write(softwareFCurve.KeyFrames.Count);
            foreach (var keyframe in softwareFCurve.KeyFrames)
            {
                KeyFrame.Write(writer, keyframe);
            }
        }