Ejemplo n.º 1
0
 internal void Write(BinaryWriterEx bw, FLVERHeader header)
 {
     bw.WriteVector3(Position);
     if (header.Version == 0x20010)
     {
         bw.WriteBGRA(Color);
     }
     else
     {
         bw.WriteARGB(Color);
     }
     bw.WriteVector3(Forward);
     bw.WriteInt16(ReferenceID);
     bw.WriteInt16(DummyBoneIndex);
     bw.WriteVector3(Upward);
     bw.WriteInt16(AttachBoneIndex);
     bw.WriteBoolean(Flag1);
     bw.WriteBoolean(UseUpwardVector);
     bw.WriteInt32(Unk30);
     bw.WriteInt32(Unk34);
     bw.WriteInt32(0);
     bw.WriteInt32(0);
 }