BlendShapeProxyのEditorモード廃止とMaterialMorph対応

This commit is contained in:
ousttrue
2018-04-09 20:24:52 +09:00
parent c9bec38fea
commit bdd80e112e
5 changed files with 119 additions and 107 deletions

View File

@@ -341,7 +341,8 @@ namespace VRM
{
MaterialName = x.materialName,
ValueName = x.propertyName,
TargetValue = value
TargetValue = value,
BaseValue = context.Materials.First(y => y.name==x.materialName).GetColor(x.propertyName),
};
})
.ToArray();