internal void Write(EndianBinaryWriter writer) { writer.Write((short)Shader); writer.Write(UnkownFlag); ScaleXOrigin.Write(writer); ScaleYOrigin.Write(writer); PositionX.Write(writer); PositionY.Write(writer); Rotation.Write(writer); ScaleX.Write(writer); ScaleY.Write(writer); Opacity.Write(writer); writer.Write(UnknownInt); }
internal void Write(EndianBinaryWriter writer) { TransferMode.Write(writer); if (writer.AddressSpace == AddressSpace.Int64) { writer.WriteNulls(4); } AnchorX.Write(writer); AnchorY.Write(writer); PositionX.Write(writer); PositionY.Write(writer); Rotation.Write(writer); ScaleX.Write(writer); ScaleY.Write(writer); Opacity.Write(writer); writer.ScheduleWriteOffsetIf(Video3D != null, 8, AlignmentMode.Left, () => { Video3D.Write(writer); }); }