기술 자료

Unity Engine

Unity Engine

SetObjectReferenceCurves(AnimationClip, EditorCurveBinding[], ObjectReferenceKeyframe[][])

Adds, modifies, or removes object references curve in an animation clip.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void SetObjectReferenceCurves(AnimationClip clip, EditorCurveBinding[] bindings, ObjectReferenceKeyframe[][] keyframes)

Parameters

The animation clip to modify.

The bindings that define the paths and the properties of each curve.

Array of Object reference arrays, one per binding.

Remarks

This method is equivalent to calling AnimationUtility.SetObjectReferenceCurve for each individual curve. This method also applies relevant post-processing operations only once. This method modifies object reference curves. For float curves, see AnimationUtility.SetEditorCurves.