Merge pull request #2237 from ousttrue/fix/integrate_blendshape_weight_1_100

[MeshUtility] 統合時のblendshapeweight定数の修正
This commit is contained in:
ousttrue
2024-02-08 17:05:54 +09:00
committed by GitHub

View File

@@ -64,7 +64,7 @@ namespace UniGLTF.MeshUtility
foreach (var x in BlendShapes)
{
//Debug.LogFormat("AddBlendShapeFrame: {0}", kv.Key);
mesh.AddBlendShapeFrame(x.Name, 1,
mesh.AddBlendShapeFrame(x.Name, 100.0f,
x.Positions.ToArray(),
x.Normals.ToArray(),
x.Tangents.ToArray());