文档

Unity Engine

Unity Engine

GetObjectReferenceCurve(AnimationClip, EditorCurveBinding)

Retrieves the object reference curve that the binding points to.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static ObjectReferenceKeyframe[] GetObjectReferenceCurve(AnimationClip clip, EditorCurveBinding binding)

Parameters

Returns

Type

Description

ObjectReferenceKeyframe[]Returns an array of keyframes.

Remarks

Unlike float curves, object reference curves do not have additional metadata. For this reason, an array of keyframes is returned instead of a curve object.