add PMX Writer
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
using System;
|
||||
using LibMMD.Material;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using static LibMMD.Reader.PMXReader;
|
||||
|
||||
namespace LibMMD.Model
|
||||
{
|
||||
@@ -17,6 +20,10 @@ namespace LibMMD.Model
|
||||
public MMDRigidBody[] Rigidbodies { get; set; }
|
||||
public MMDJoint[] Joints { get; set; }
|
||||
|
||||
public PmxConfig PmxConfig;
|
||||
public List<MMDTexture> TextureList = new List<MMDTexture>();
|
||||
public List<PMXEntryItem> Entrys = new List<PMXEntryItem>();
|
||||
|
||||
public void Normalize()
|
||||
{
|
||||
foreach (var vertex in Vertices)
|
||||
@@ -80,4 +87,19 @@ namespace LibMMD.Model
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class PMXEntryItem
|
||||
{
|
||||
public string EntryItemName;
|
||||
public string EntryItemNameEn;
|
||||
public bool IsSpecial;
|
||||
public List<Element> Elements;
|
||||
|
||||
public class Element
|
||||
{
|
||||
public bool IsMorph;
|
||||
public int MorphIndex;
|
||||
public int BoneIndex;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user