protected override void WriteObject(AssetsWriter writer) { writer.Write(Name); //writer.Write(MeshData); writer.WriteArrayOf(SubMeshes, (o, w) => o.Write(w)); BlendShapeData.Write(writer); writer.WriteArrayOf(BindPose, (o, w) => w.Write(o)); writer.WriteArrayOf(BoneNameHashes, (o, w) => w.Write(o)); writer.Write(RootBoneNameHash); writer.Write(MeshCompression); writer.Write(IsReadable); writer.Write(KeepVerticies); writer.Write(KeepIndicies); writer.AlignTo(4); writer.Write(IndexFormat); writer.WriteArray(IndexBuffer); writer.AlignTo(4); VertexData.Write(writer); CompressedMesh.Write(writer); LocalAABB.Write(writer); writer.Write(MeshUsageFlags); writer.WriteArray(BakedConvexCollisionMesh); writer.AlignTo(4); writer.WriteArray(BakedTriangleCollisionMesh); writer.AlignTo(4); writer.Write(MeshMetrics1); writer.Write(MeshMetrics2); StreamData.Write(writer); }
public override void Write(AssetsWriter writer) { base.WriteBase(writer); writer.Write(JsonData); writer.WriteArray(SignatureBytes); writer.WriteArray(ProjectedData); writer.AlignTo(4); }
public void Write(AssetsWriter writer) { writer.Write(VertexCount); writer.WriteArrayOf(Channels, (o, w) => o.Write(w)); writer.WriteArray(Data); writer.AlignTo(4); }
public void Write(AssetsWriter writer) { writer.Write(NumItems); writer.WriteArray(Data); writer.AlignTo(4); writer.Write(BitSize); writer.AlignTo(4); }
protected override void WriteObject(AssetsWriter writer) { base.WriteBase(writer); writer.Write(JsonData); writer.WriteArray(new byte[128]); writer.Write((Int32)0); writer.AlignTo(4); }