protected override void WriteObject(AssetsWriter writer) { LocalRotation.Write(writer); LocalPosition.Write(writer); LocalScale.Write(writer); writer.WriteArrayOf(Children, (x, y) => x.Write(y)); Father.Write(writer); }
public override void Write(AssetsWriter writer) { base.WriteBase(writer); LocalRotation.Write(writer); LocalPosition.Write(writer); LocalScale.Write(writer); writer.WriteArrayOf(Children, x => x.WritePtr(writer)); Father.WritePtr(writer); }
public override void Write(AssetWriter writer) { base.Write(writer); LocalRotation.Write(writer); LocalPosition.Write(writer); LocalScale.Write(writer); Children.Write(writer); Father.Write(writer); #if UNIVERSAL TransformLayout layout = writer.Layout.Transform; if (layout.HasRootOrder) { writer.Write(RootOrder); } if (layout.HasLocalEulerAnglesHint) { LocalEulerAnglesHint.Write(writer); } #endif }