public FCurve(BinaryReader reader)
{
Type = (FCurveTypes)reader.ReadInt32();
Index = reader.ReadInt32();
DataPath = reader.ReadString();
KeyFrames = new KeyFrame[reader.ReadInt32()];
for (int i = 0; i != KeyFrames.Length; ++i)
{
KeyFrames[i] = new KeyFrame(reader);
}
}