ConvertRotationPropertiesToInterpolationType() статический приватный Метод

static private ConvertRotationPropertiesToInterpolationType ( EditorCurveBinding selection, Mode newInterpolationMode ) : UnityEditor.EditorCurveBinding[]
selection EditorCurveBinding
newInterpolationMode Mode
Результат 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));
 }