ConvertRotationPropertiesToInterpolationType() static private méthode

static private ConvertRotationPropertiesToInterpolationType ( EditorCurveBinding selection, Mode newInterpolationMode ) : UnityEditor.EditorCurveBinding[]
selection EditorCurveBinding
newInterpolationMode Mode
Résultat UnityEditor.EditorCurveBinding[]
Exemple #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));
 }
Exemple #2
0
 internal static EditorCurveBinding[] ConvertRotationPropertiesToDefaultInterpolation(AnimationClip clip, EditorCurveBinding[] selection)
 {
     return(RotationCurveInterpolation.ConvertRotationPropertiesToInterpolationType(selection, RotationCurveInterpolation.Mode.Baked));
 }