기술 자료

Unity Engine

Unity Engine

FloatCurve(string, Type, string)

Creates a preconfigured binding for a float curve.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static EditorCurveBinding FloatCurve(string inPath, Type inType, string inPropertyName)

Parameters

inPath

The transform path to the object to animate.

inType

The type of the object to animate.

inPropertyName

The name of the property to animate on the object.

Returns

Type

Description

EditorCurveBindingThe new EditorCurveBinding.

Remarks

Use float curves for any property that can be interpolated. For example, use EditorCurveBinding.FloatCurve for floats, booleans and integers.