예제 #1
0
 public static void WriteStepLinear32(this BinaryWriter Writer, KeyFrame KF)
 {
     Writer.Write(
         ((uint)KF.Frame & 0xfff) << 0 |
             ((uint)KF.Value & 0xfffff) << 12);
 }
예제 #2
0
 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));
 }
예제 #3
0
 public static void WriteStepLinear64(this BinaryWriter Writer, KeyFrame KF)
 {
     Writer.Write(KF.Frame);
     Writer.Write(KF.Value);
 }
예제 #4
0
 public static void WriteUnifiedHermite96(this BinaryWriter Writer, KeyFrame KF)
 {
     Writer.Write(KF.Frame);
     Writer.Write(KF.Value);
     Writer.Write(KF.InSlope);
 }