private void populateMesh(MOM mom) { Mesh m = LibLSDUnity.CreateMeshesFromTMD(mom.TMD).First(); rotateUpright(m); _meshFilter.sharedMesh = m; }
public InteractiveObjectData(MOM mom, Material mat) { _mom = mom; ObjectTable = LibLSDUnity.CreateMeshesFromTMD(mom.TMD); Animations = new List <TODAnimation>(); foreach (var anim in _mom.MOS.TODs) { Animations.Add(new TODAnimation(anim, ObjectTable, mat)); } }