Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 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);
 }
Esempio n. 3
0
        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
        }