ConvertRotationPropertiesToInterpolationType() static private method

static private ConvertRotationPropertiesToInterpolationType ( EditorCurveBinding selection, Mode newInterpolationMode ) : UnityEditor.EditorCurveBinding[]
selection EditorCurveBinding
newInterpolationMode Mode
return UnityEditor.EditorCurveBinding[]
示例#1
0
 internal static EditorCurveBinding[] ConvertRotationPropertiesToDefaultInterpolation(AnimationClip clip, EditorCurveBinding[] selection)
 {
     RotationCurveInterpolation.Mode newInterpolationMode = !clip.legacy ? RotationCurveInterpolation.Mode.RawEuler : RotationCurveInterpolation.Mode.Baked;
     return(RotationCurveInterpolation.ConvertRotationPropertiesToInterpolationType(selection, newInterpolationMode));
 }
示例#2
0
 internal static EditorCurveBinding[] ConvertRotationPropertiesToDefaultInterpolation(AnimationClip clip, EditorCurveBinding[] selection)
 {
     return(RotationCurveInterpolation.ConvertRotationPropertiesToInterpolationType(selection, RotationCurveInterpolation.Mode.Baked));
 }