Skip to content

Commit ed5149e

Browse files
committed
add some more comments for KeySet
1 parent dc46f88 commit ed5149e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

com.unity.formats.fbx/Editor/FbxExporter.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1787,10 +1787,14 @@ internal static void ExportAnimationKeys (AnimationCurve uniAnimCurve, FbxAnimCu
17871787
convertSceneHelper.Convert(uniKeyFrame.value),
17881788
interpMode,
17891789
tanMode,
1790+
// value of right slope
17901791
convertSceneHelper.Convert(uniKeyFrame.outTangent),
1792+
// value of next left slope
17911793
keyIndex < uniAnimCurve.length -1 ? convertSceneHelper.Convert(uniAnimCurve[keyIndex+1].inTangent) : 0,
17921794
FbxAnimCurveDef.EWeightedMode.eWeightedAll,
1795+
// weight for right slope
17931796
uniKeyFrame.outWeight,
1797+
// weight for next left slope
17941798
keyIndex < uniAnimCurve.length - 1 ? uniAnimCurve[keyIndex + 1].inWeight : 0
17951799
);
17961800
}

0 commit comments

Comments
 (0)