public static void WriteStepLinear32(this BinaryWriter Writer, KeyFrame KF) { Writer.Write( ((uint)KF.Frame & 0xfff) << 0 | ((uint)KF.Value & 0xfffff) << 12); }
public static void WriteUnifiedHermite48(this BinaryWriter Writer, KeyFrame KF) { Writer.Write((ushort)(KF.Frame * 32)); Writer.Write((ushort)(KF.Value)); Writer.Write((ushort)(KF.InSlope * 256)); }
public static void WriteStepLinear64(this BinaryWriter Writer, KeyFrame KF) { Writer.Write(KF.Frame); Writer.Write(KF.Value); }
public static void WriteUnifiedHermite96(this BinaryWriter Writer, KeyFrame KF) { Writer.Write(KF.Frame); Writer.Write(KF.Value); Writer.Write(KF.InSlope); }