public AnimatedObject(string key, string meshPath, string textureMapping = "neutral") { Key = key; Mesh = meshPath; string mesh = IOHelper.SimplifyRelativeDirectory(meshPath, ""); ObjSettings = new MeshedObjectTypeSettings(key, mesh, textureMapping); ObjType = MeshedObjectType.Register(ObjSettings); FileTable.Register(mesh, ECachedFileType.Mesh); }
public AnimatedObject(string key, string meshPath, string textureMapping) { ObjSettings = new MeshedObjectTypeSettings(key, meshPath, textureMapping); ObjType = MeshedObjectType.Register(ObjSettings); }