# EditorCurveBinding

> Defines how a curve is attached to an object that it controls.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor
* **Implements:** [IEquatable\<EditorCurveBinding>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public struct EditorCurveBinding : IEquatable<EditorCurveBinding>
```

## Fields

| Value                                                                                          | Description                                        |
| ---------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| [path](/engine/6000.0/script-reference/unityeditor/editorcurvebinding/path.md)                 | The transform path of the object that is animated. |
| [propertyName](/engine/6000.0/script-reference/unityeditor/editorcurvebinding/propertyname.md) | The name of the property to be animated.           |

## Properties

| Property                                                                                                                 | Description                                                                                                                                                                                                |
| ------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [isDiscreteCurve](/engine/6000.0/script-reference/unityeditor/editorcurvebinding/isdiscretecurve.md)                     | Returns true if the binding is a discrete curve. Returns false otherwise. (Read Only)                                                                                                                      |
| [isPPtrCurve](/engine/6000.0/script-reference/unityeditor/editorcurvebinding/ispptrcurve.md)                             | Returns true if the binding is an object curve. Returns false otherwise (Read Only)                                                                                                                        |
| [isSerializeReferenceCurve](/engine/6000.0/script-reference/unityeditor/editorcurvebinding/isserializereferencecurve.md) | Returns true if the binding is to a curve that points to field on a [SerializeReference](/engine/6000.0/script-reference/unityengine/serializereference.md) instance. Returns false otherwise. (Read Only) |
| [type](/engine/6000.0/script-reference/unityeditor/editorcurvebinding/type.md)                                           | The type of the property to be animated.                                                                                                                                                                   |

## Static Methods

| Method                                                                                                               | Description                                                                                                                                                          |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [DiscreteCurve](/engine/6000.0/script-reference/unityeditor/editorcurvebinding/discretecurve.md)                     | Creates a preconfigured binding for a curve where values should not be interpolated.                                                                                 |
| [FloatCurve](/engine/6000.0/script-reference/unityeditor/editorcurvebinding/floatcurve.md)                           | Creates a preconfigured binding for a float curve.                                                                                                                   |
| [PPtrCurve](/engine/6000.0/script-reference/unityeditor/editorcurvebinding/pptrcurve.md)                             | Creates a preconfigured binding for a curve that points to an [Object](/engine/6000.0/script-reference/unityengine/object.md).                                       |
| [SerializeReferenceCurve](/engine/6000.0/script-reference/unityeditor/editorcurvebinding/serializereferencecurve.md) | Creates a preconfigured binding for a curve that points to a [SerializeReference](/engine/6000.0/script-reference/unityengine/serializereference.md) instance field. |
